When trying to emerge qt-3.1.0_pre20021024 I got the following error: g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o .obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o .obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o .obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o .obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o -L/usr/lib/mysql -Wl,-rpath,/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib -L/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -ldl -lpthread -lqt-mt -lmng -ljpeg -lpng -lz -lpthread -lGLU -lGL -lXmu -lSM -lICE -ldl -lXext -lX11 -lm -lXinerama -lXrender -lXft -lfreetype -lXi /var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib/libqt-mt.so: undefined reference to `XftDrawCreateAlpha' /var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib/libqt-mt.so: undefined reference to `XftCharExists' /var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib/libqt-mt.so: undefined reference to `XftDrawPicture' collect2: ld returned 1 exit status make[3]: *** [../../../bin/uic] Error 1 make[3]: Leaving directory `/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/tools/designer/uic' make[2]: *** [sub-uic] Error 2 Does this mean that our Xft is not the one qt is looking for?
Just for confirmation, I am getting the same errors on two different machines. Both are running xft-2.0 from the gnome-2.1.1 set.
Created attachment 5244 [details, diff] Patch for the library path. This solves the compile problem per heliosc's posting here: http://forums.gentoo.org/viewtopic.php?t=20627. I'm compiling it now, and can verify that it compiles past this point.
Well, this seems a patch that can't break anything, so even though I don't have xft2 I'll commit it, since you say that it fixes things :-) Oh and qt-copy in kde cvs is now up to qt 3.1 rc1, so I guess 3.1.0 isn't too far. I don't use this snapshot myself, but the kde guys recommended it for kde 3.1 rc1, so I guess it's ok. I wonder if this patch is still needed for current qt cvs?... Well, if someone tells me it is, I can add it to the cvs ebuild then.
i have cvs checked out before 2 hours, works without the patch.