checking for Qt... configure: error: Qt (>= Qt 3.0.2) (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! !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -3699, Exitcode 1 !!! died running ./configure, kde_src_compile:configure But, I do have qt=3.0.4.1 with thread support enabled. lrwxrwxrwx 1 root root 13 May 31 12:36 /usr/qt/3/lib/libqt-mt.so -> libqt-mt.so.3 lrwxrwxrwx 1 root root 15 May 31 12:36 /usr/qt/3/lib/libqt-mt.so.3 -> libqt-mt.so.3.0 lrwxrwxrwx 1 root root 17 May 31 12:36 /usr/qt/3/lib/libqt-mt.so.3.0 -> libqt-mt.so.3.0.4 -rw-r--r-- 1 root root 6360084 May 31 12:35 /usr/qt/3/lib/libqt-mt.so.3.0.4 lrwxrwxrwx 1 root root 11 May 31 12:36 /usr/qt/3/lib/libqt.so -> libqt-mt.so lrwxrwxrwx 1 root root 13 May 31 12:36 /usr/qt/3/lib/libqt.so.3 -> libqt-mt.so.3 lrwxrwxrwx 1 root root 15 May 31 12:36 /usr/qt/3/lib/libqt.so.3.0 -> libqt-mt.so.3.0 lrwxrwxrwx 1 root root 17 May 31 12:36 /usr/qt/3/lib/libqt.so.3.0.4 -> libqt-mt.so.3.0.4
So, let's look at config.log. Please attach your ${S}/config.log and we'll see where it's looking for qt and why it can't find it. Also, if you have qpkg installed (if not emerge gentoolkit, it's very very useful), run "qpkg -c -v qt" to check that all your qt files are in place and have correct checksums.
Problem solved, I think: this machine was converted briefly to gcc3.1 and then back again. However I now find that, while the conversion back to gcc2.9x correctly relinked /usr/bin/i586-pc-gnu-linux-gcc to /usr/bin/gcc, it failed to do the parallel relink of /usr/bin/i586-pc-gnu-linux-g++ to /usr/bin/g++. Therefore the configure program was looking for i586-pc-gnu-g++ and found it still linked to the old c++ version 3.1 instead of to /usr/bin/g++ which is now back to version 2.9x I did the relink by hand and arts is now happily compiling away. While not many people are in my situation, it might still save a few headaches if the gcc2.9x package included a link between /usr/bin/g++ and i585-pc-gnu-linux-g++ so that any machine like mine will be completely reverted back to gcc2.9x. Thanks for your response, it pointed me in the right direction.
OK, I'm closing this then. Wrt. your gcc suggestion, please file it as a new bug so that it gets assigned to the right developer.
Not reopening this, but as I just came across the same gcc-problem trying to emerge arts-1.1.2 a full year later than this case was closed I thought I'd put in a comment here for those who come looking for a solution. If you error out on something like "...(library qt-mt) not found." then it is highly likely that you have a slightly messed up GCC installation. On my box, there is currently both gcc 3.2.3 and 2.95.3. However, somewhere in the installation of one of those, the setup isn't properly converted from the one to the other. Typically 'gcc -v' will show a different version from what the content of /etc/env.d/05gcc will show you. To fix this, use gcc-config: # gcc-config -l [1] i686-pc-linux-gnu-2.95.3 [2] i686-pc-linux-gnu-3.2.3 If you want 2.95.3, just do: # gcc-config i686-pc-linux-gnu-2.95.3 * Switching to i686-pc-linux-gnu-2.95.3 compiler... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile # source /etc/profile # cat /etc/env.d/05gcc PATH="/usr/i686-pc-linux-gnu/gcc-bin/2.95" ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/2.95" MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/2.95/man" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/2.95/info" CC="gcc" CXX="g++" LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3" # gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release)
The problem exists also for me emerging arts-1.1.2. The solution provided by Olaf does not work for me. Beside that, i've just one version of gcc installed: toral qt # gcc-config -l [1] i686-pc-linux-gnu-3.2.3 This is what i got: checking for libjpeg... -ljpeg checking for Qt... configure: error: Qt (>= Qt 3.1.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! !!! ERROR: kde-base/arts-1.1.2 failed. !!! Function kde_src_compile, Line -3219, Exitcode 1 !!! died running ./configure, kde_src_compile:configure qt is up to date: x11-libs/qt-3.1.2-r3 Any ideas?
As a workaraound add these lines to arts-1.1.2.ebuild (works fine for me): myconf="${myconf} --with-qt-dir=/usr/qt/3" myconf="${myconf} --with-qt-includes=/usr/qt/3/include" myconf="${myconf} --with-qt-libraries=/usr/qt/3/lib"