I have the latest (as of 07/11/2003) version of QT installed. However, when compiling kdemultimedia I'm getting the following error: ---snip--- g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I../../arts/runtime -I/usr/kde/3.1/include/arts -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=pentium3 -march=pentium3 -O2 -pipe -fPIC -DPIC -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c -o propertypanelbase.o `test -f 'propertypanelbase.cpp' || echo './'`propertypanelbase.cpp /bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=pentium3 -march=pentium3 -O2 -pipe -fPIC -DPIC -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o artsbuilder -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib -R /usr/kde/3.1/lib -R /usr/qt/3/lib -R /usr/X11R6/lib autorouter.o main.o module.o propertypanel.o structure.o retrievedlg.o createtool.o structureport.o drawutils.o scomponent.o portposdlg.o menumaker.o session.o dirmanager.o mwidget.o execdlg.o qttableview.o interfacedlg.o propertypanelbase.o -lkio -lqtmcop -lX11 -lpthread ../../arts/runtime/libartsbuilder.la -lsoundserver_idl -lartskde -L/usr/lib -lesd -laudiofile -lm libtool: link: cannot find the library `/usr/qt/3/lib/libqt-mt.la' make[4]: *** [artsbuilder] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2/arts/builder' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2/arts/builder' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2/arts' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.2-r1/work/kdemultimedia-3.1.2' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.1.2-r1 failed. !!! Function kde_src_compile, Line 123, Exitcode 2 !!! died running emake, kde_src_compile:make ---snip--- Here's what is in the directory /ust/qt/3/lib: nlabadie@scanner nlabadie $ ls /usr/qt/3/lib/ libdesigner.a libqt-mt.so@ libqt-mt.so.3.1.2 libqt.so.3.1@ libqui.so.1@ libeditor.a libqt-mt.so.3@ libqt.so@ libqt.so.3.1.2@ libqui.so.1.0@ libqassistantclient.a libqt-mt.so.3.1@ libqt.so.3@ libqui.so@ libqui.so.1.0.0 Reproducible: Always Steps to Reproduce: 1. emerge -u kdemultimedia Actual Results: The compile errors out. Expected Results: Compiled and installed. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.5.74 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts aalib svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=pentium3 -march=pentium3 -O3 -pipe -fPIC -DPIC" CXXFLAGS="-mcpu=pentium3 -march=pentium3 -O3 -pipe -fPIC -DPIC" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox buildpkg ccache distcc cvs prelink"
The missing file (libqt-mt.la) *should* be there. A reemerge of Qt should help. I dunno what would cause it not to be there. You are using 3.1.2-r3 or later, right?
The file is also missing on a different system (kdemultimedia is not installed on this one). Here's what I see: ---snip--- * x11-libs/qt Latest version available: 3.1.2-r4 Latest version installed: 3.1.2-r4 Size of downloaded files: 13,045 kB Homepage: http://www.trolltech.com/ Description: QT version 3.1.2 nlabadie@security nlabadie $ ls /usr/qt/3/lib/ libdesigner.a libqt-mt.so.3@ libqt.so.3@ libqui.so.1@ libeditor.a libqt-mt.so.3.1@ libqt.so.3.1@ libqui.so.1.0@ libqassistantclient.a libqt-mt.so.3.1.2 libqt.so.3.1.2@ libqui.so.1.0.0 libqt-mt.so@ libqt.so@ libqui.so@ ---snip--- Not on that one either...
Did a little research here, and it looks like qt 3.2 and qt-copy from kde's cvs support the installation of the .la file, but <=qt 3.1.2 don't. The problem I'm seeing is that if you have installed packages against 3.2, it may generate dependencies on that .la file which, if you later revert to an earlier qt version (like 3.1.2) that file doesn't exist anymore. Specifically, it looks like arts wants that file. Might this be what you're experiencing too?
I unmerged arts and remerged it. Corrected the problem. Thanks much!
Closing this as fixed, though we may want to think about a different scheme for multiple qt version emerges.