Summary: | kde-base/arts-3.5.8 configure fails: qt3 not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | CC: | dilfridge |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andreas K. Hüttel
2008-02-03 19:24:06 UTC
Your QTDIR seems to be set to /usr/lib/qt3. It is supposed to be /usr/qt/3 which is set by /etc/env.d/50qtdir3. Does running `env-update && source /etc/profile` fix this? Otherwise post the output of: emerge -pv =x11-libs/qt-3* echo $QTDIR grep QTDIR /etc/profile.env You are correct, QTDIR was set incorrectly, and that is fixed by `env-update && source /etc/profile`. The build still fails though, with a slightly different configure error: (...) checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for perl... /usr/bin/perl checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation! (chroot) bellini ~ # emerge -pv =x11-libs/qt-3* These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-3.3.8-r4 USE="cups ipv6 -debug -doc -examples -firebird -gif -immqt -immqt-bc -mysql -nas -nis -odbc -opengl -postgres -sqlite -xinerama" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB (chroot) bellini ~ # echo $QTDIR /usr/qt/3 (chroot) bellini ~ # grep QTDIR /etc/profile.env export QTDIR='/usr/qt/3' (chroot) bellini ~ # ls -l /usr/qt/3/lib/libqt-mt.* -rwxr-xr-x 1 root root 782 Feb 3 19:29 /usr/qt/3/lib/libqt-mt.la -rw-r--r-- 1 root root 787 Feb 3 19:29 /usr/qt/3/lib/libqt-mt.prl lrwxrwxrwx 1 root root 13 Feb 3 19:29 /usr/qt/3/lib/libqt-mt.so -> libqt-mt.so.3 lrwxrwxrwx 1 root root 15 Feb 3 19:29 /usr/qt/3/lib/libqt-mt.so.3 -> libqt-mt.so.3.3 lrwxrwxrwx 1 root root 17 Feb 3 19:29 /usr/qt/3/lib/libqt-mt.so.3.3 -> libqt-mt.so.3.3.8 -rwxr-xr-x 1 root root 7123684 Feb 3 19:29 /usr/qt/3/lib/libqt-mt.so.3.3.8 (chroot) bellini ~ # Here is the relevant part (I hope) from config.log. It makes me wonder a bit whether libqt-mt really is the problem. configure:33120: checking for Qt configure: 33185: /usr/qt/3/include/qstyle.h taking that configure:33302: rm -rf SunWS_cache; i686-pc-linux-gnu-g++ -o conftest -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium-m -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/qt/3/lib conftest.cpp -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try using -rpath or -rpath-link) /usr/lib/libfontconfig.so.1: undefined reference to `XML_ErrorString' /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetUserData' /usr/lib/libfontconfig.so.1: undefined reference to `XML_GetCurrentLineNumber' /usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserFree' /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetElementHandler' /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetDoctypeDeclHandler' /usr/lib/libfontconfig.so.1: undefined reference to `XML_SetCharacterDataHandler' /usr/lib/libfontconfig.so.1: undefined reference to `XML_GetErrorCode' /usr/lib/libfontconfig.so.1: undefined reference to `XML_GetBuffer' /usr/lib/libfontconfig.so.1: undefined reference to `XML_ParserCreate' /usr/lib/libfontconfig.so.1: undefined reference to `XML_ParseBuffer' collect2: ld returned 1 exit status configure:33305: $? = 1 configure: failed program was: #include "confdefs.h" #include <qglobal.h> #include <qapplication.h> #include <qcursor.h> #include <qstylefactory.h> #include <private/qucomextra_p.h> #if ! (QT_VERSION >= 0x030300 && QT_VERSION < 0x040000) #error 1 #endif int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:33345: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation! For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support! (In reply to comment #2) > Here is the relevant part (I hope) from config.log. It makes me wonder a bit > whether libqt-mt really is the problem. [...] > /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: > warning: libexpat.so.0, needed by /usr/lib/libfontconfig.so.1, not found (try > using -rpath or -rpath-link) > /usr/lib/libfontconfig.so.1: undefined reference to `XML_ErrorString' Yep. 3.5.8 is stable now but other than that this still covers it.. http://www.gentoo.org/proj/en/desktop/kde/kde-expat-upgrading.xml Closing as WORKSFORME since these are local problems that we currently can't do much about... Solved in the meantime with revdep-rebuild - sorry for the noise, and thanks for the help. |