I had to change qt-2.3.2-r1.ebuild to pass -I/usr/include/freetype2 to the configure script to get qt2 to compile. Compiling qt-2.3.2/src/kernel/qpsprinter.cpp dies without this, because it includes /usr/X11R6/include/Xft.h, which includes <freetype/freetype.h>. freetype.h is either not found, or it tries to include freetype.h for freetype1. Should Xft.h include <freetype2/freetype/freetype.h> ?
do you have x11-libs/xft merged? which cvs version of /usr/include/X1//Xft/Xft.h do you have (grep "lib/Xft" /usr/include/X11/Xft/Xft.h should show this). is this the same as bug #13109? which version/s of freetype are merged?
>On Mon, Jan 06, 2003 at 02:59:14PM -0500, Derek Dolney wrote: > >>bugzilla-daemon@chiba.3jane.net wrote: >> >>>http://bugs.gentoo.org/show_bug.cgi?id=13319 >>> >>> >>> >>> >>> >>>------- Additional Comments From hannes@gentoo.org 2003-01-06 07:11 >>>------- >>>do you have x11-libs/xft merged? >>> >>I have x11-libs/xft-2.0.1.ebuild merged. >> >>>which cvs version of /usr/include/X1//Xft/Xft.h do >>>you have (grep "lib/Xft" /usr/include/X11/Xft/Xft.h should show this). >>> >>The grep says: * $XFree86: xc/lib/Xft/Xft.h,v 1.30 2002/10/11 17:53:02 >>keithp Exp $ >> >>>is this the same as bug #13109? >>> >>I'm not sure. I couldn't find the error message "could not find >>freetype.h" in that bug report, but it stops on the same file >>(qpsprinter.cpp). >> >>>which version/s of freetype are merged? >>> >>Only freetype2 at first, but I tried merging freetype1---it didn't help, >>of course. >> >>By the way, the subject of this bug report is wrong: I had to use >>-I/usr/include/freetype2. The text was correct. >> >>It seems that the configure script is not using freetype-config right, >>because "freetype-config --cflags" gives "-I/usr/include/freetype2" on >>my machine, which is correct. >> >didn't qt fail with the same error as in bug #13109? Roughly the same error. It does die compiling the same file as my build, but mine gave the error message "could not find freetype.h", which I don't see in #13109. >what does readlink /usr/X11R6/lib/libXft.so return? ../../lib/libXft.so.2.0 >what's the output of ls -l /usr/include/X11/Xft/? total 24 -rw-r--r-- 1 root root 12294 Jan 5 15:53 Xft.h -rw-r--r-- 1 root root 5399 Jan 5 01:32 XftCompat.h >Best Regards, > >Hannes Mehnert >
>btw, for what do you need qt-2? I wanted to try out showimg.
ok, update: qt-2.3.2-r1 gets configured with -no-xft now (there are several reasons: -x11-libs/xft got unmasked (which contains xft-2.x ebuilds) -qt-2 does not work with xft-2 -xft-1 was provided by xfree, but not all xfree ebuilds provide xft-1 (xfree-4.2.99.3 does not)) please update the ebuild and try again. thanks.
It works for me now. I rebuilt without problems. Thank you.
ok, thanks. mark as fixed.