More on RPM trouble.


Subject: More on RPM trouble.
From: Evan Read (evan@netaccess.co.nz)
Date: Fri Sep 17 1999 - 18:36:01 MDT


Ok guys.

I was compiling another kde aware program, and I got a slightly different
error. here it is:

checking for KDE... libraries /usr/lib, headers /usr/include
checking for extra includes... no
checking for extra libs... no
checking for KDE paths... problems
configure: error: configure can not run a little KDE program to test the
environment.

Cool. Now I know more about what it is trying to do. Looks like Dan was
right about it being a path problem (previously, the error didn't occur at
the path lookup - or so it seemed). Anyways, I also checked out
config.log (something I will remember for next time) and here is the bit
of most interest (ie, where it dies):

configure:2725: checking for KDE
configure:2853: checking for extra includes
configure:2880: checking for extra libs
configure:2949: checking for KDE paths
configure:3043: /bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall
-I/usr/include -I/usr/loca$
g++ -o conftest -O2 -Wall -I/usr/include -I/usr/local/qt/include
-I/usr/X11R6/include -s -L/usr/li$
/tmp/ccI9huCt.o: In function `main':
/tmp/ccI9huCt.o(.text+0x10): undefined reference to `QString::latin1(void)
const'
/tmp/ccI9huCt.o(.text+0x2c): undefined reference to `QString::latin1(void)
const'
/tmp/ccI9huCt.o(.text+0x48): undefined reference to `QString::latin1(void)
const'
/tmp/ccI9huCt.o(.text+0x64): undefined reference to `QString::latin1(void)
const'
/tmp/ccI9huCt.o(.text+0x80): undefined reference to `QString::latin1(void)
const'
/tmp/ccI9huCt.o(.text+0x9c): more undefined references to
`QString::latin1(void) const' follow
collect2: ld returned 1 exit status

Can anyone else who has installed Dan's kdelibs1.1.2-1 confirm that those
paths in the compiling process are correct for the libs? Can anyone
suggest anything? Why would these undefined references come up? Do I
need to provide any more information to aid?

Thanks again.

Ev.



This archive was generated by hypermail 2a24 : Fri Oct 01 1999 - 16:13:44 MDT