Date: Thu, 04 Feb 1999 04:51:26 +0100 From: Palle Girgensohn <girgen@partitur.se> To: freebsd-ports@FreeBSD.ORG, kde-user@kde.org Subject: FreeBSD refuses to configure kde-1.0 apps Message-ID: <36B9193E.4C89FED6@partitur.se>
next in thread | raw e-mail | index | archive | help
Hi! I'm experiencing problems linking kde and qt kde-1.0 and qt-1.42 are installed from the ports collection. When trying to build kmpg-1.41, or kdgb, I get this: ./configure --prefix=/usr/local --with-qt-dir=/usr/X11R6 --with-qt-includes=/usr/X11R6/include/X11/qt ... checking for shmat... yes checking for killpg in -lucb... no checking for QT... libraries /usr/X11R6/lib, headers /usr/X11R6/include/X11/qt checking if Qt compiles without flags... no checking for moc... /usr/X11R6/bin/moc checking for rpath... yes checking for bool... yes checking for KDE... libraries /usr/local/lib, headers /usr/local/include checking for extra includes... no checking for extra libs... no checking for kde headers installed... yes checking for kde libraries installed... configure: error: your system fails at linking a small KDE application! Check, if your compiler is installed correctly and if you have used the same compiler to compile qt and kdelibs as you did use now config.log tells me that there's probably a linking problem: ... configure:3401: checking for kde headers installed configure:3442: g++ -c -O2 -Wall -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include conftest.C configure:3450: checking for kde libraries installed configure:3453: /bin/sh ./libtool --mode=link g++ -o conftest -O2 -Wall -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include -s -L/usr/local/lib -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -rpath /usr/local/lib -rpath /usr/X11R6/lib 1>&5 g++ -o conftest -O2 -Wall -I/usr/local/include -I/usr/X11R6/include/X11/qt -I/usr/X11R6/include -s -L/usr/local/lib -L/usr/X11R6/lib conftest.C -lkdecore -lqt -lXext -lX11 -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/X11R6/lib /var/tmp/ccl971301.o: In function `QListT<KDNDDropZone>::~QListT(void)': /var/tmp/ccl971301.o(.text+0x182): undefined reference to `QGList::~QGList(void)' /var/tmp/ccl971301.o: In function `QIntDictT<char>::~QIntDictT(void)': /var/tmp/ccl971301.o(.text+0x1e2): undefined reference to `QGDict::~QGDict(void)' /var/tmp/ccl971301.o: In function `QDictT<QDictT<KEntryDictEntry> >::~QDictT(void)': /var/tmp/ccl971301.o(.text+0x252): undefined reference to `QGDict::~QGDict(void)' /var/tmp/ccl971301.o: In function `QDictT<KEntryDictEntry>::deleteItem(void *)': /var/tmp/ccl971301.o(.text+0x28e): undefined reference to `QGArray::~QGArray(void)' /var/tmp/ccl971301.o: In function `QDictT<KEntryDictEntry>::~QDictT(void)': /var/tmp/ccl971301.o(.text+0x2ca): undefined reference to `QGDict::~QGDict(void)' /var/tmp/ccl971301.o: In function `QStrIList::~QStrIList(void)': /var/tmp/ccl971301.o(.text+0x336): undefined reference to `QGList::~QGList(void)' /var/tmp/ccl971301.o: In function `QStrList::~QStrList(void)': /var/tmp/ccl971301.o(.text+0x3f2): undefined reference to `QGList::~QGList(void)' /var/tmp/ccl971301.o: In function `QListT<char>::~QListT(void)': /var/tmp/ccl971301.o(.text+0x442): undefined reference to `QGList::~QGList(void)' /var/tmp/ccl971301.o: In function `QString::~QString(void)': /var/tmp/ccl971301.o(.text+0x473): undefined reference to `QGArray::~QGArray(void)' /var/tmp/ccl971301.o: In function `QArrayT<char>::~QArrayT(void)': /var/tmp/ccl971301.o(.text+0x49f): undefined reference to `QGArray::~QGArray(void)' uname -a: FreeBSD stordatan.palle.se 3.0-STABLE FreeBSD 3.0-STABLE #1: Tue Jan 26 04:12:15 CET 1999 girgen@stordatan.palle.se:/usr/src/sys/compile/PALLE3 i386 I do not have any qt-1.3 version installed. In trying to solve the problem, I reinstalled kdelibs-1.0, and the ports seems to be broken; it complains that it cannot find QT-1.3. Adding the -with-qt-... stuff (as above) in CONFIRURE_ARGS fixes this. Any ideas? /Palle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36B9193E.4C89FED6>