From kde-devel Sun Dec 29 18:24:05 2002 From: Vadim Plessky Date: Sun, 29 Dec 2002 18:24:05 +0000 To: kde-devel Subject: Re: Qt-3.1.1 under RedHat 8.0 X-MARC-Message: https://marc.info/?l=kde-devel&m=104119182409071 On Wednesday 25 December 2002 23:29, Troels Tolstrup wrote: | On Onsdag den 25. december 2002 08:06, James Richard Tyrer wrote: [...] | > > I added a -I /usr/include/Xft2 when running configure, | > | > The problem with this is that Qt might find: | > "/usr/X11R6/include/X11/Xft/Xft.h" since: "/usr/X11R6/include" is | > already on the search path. | | Thats no problem as there are no /usr/X11R6/include/X11/Xft/Xft.h unless | you installed it there yourself, which you did. The only Xft.h on a | standard redhat 8 system is /usr/include/Xft2/X11/Xft/Xft.h I think you are wrong here. [vad@VPlessky Xft]$ pwd /usr/X11R6/include/X11/Xft [vad@VPlessky Xft]$ ls -l total 24 -r--r--r-- 1 root root 5399 Dec 11 01:00 XftCompat.h -r--r--r-- 1 root root 12294 Dec 11 01:00 Xft.h $ rpm -qf /usr/X11R6/include/X11/Xft/Xft.h XFree86-devel-4.2.99.2-0.20021122.2 $ rpm -qf /usr/X11R6/include/X11/Xft/XftCompat.h XFree86-devel-4.2.99.2-0.20021122.2 I need to admit here that my XFree86 is compiled from RawHide sources, so it's somewhat more fresh tan XFree86 from RedHat 8 (which has XF-4.2.1) | | > > And then it compiled and linked just fine. | > | > As I said somewhere else: are you certain as to which: "Xft.h" was | > used to build Qt? | | As stated above, i only have one Xft.h on the entire system | I also have just one Xft.h $ locate Xft.h /usr/X11R6/include/X11/Xft/Xft.h | Unlike you, i managed to compile qt3 without changing anything on my | system, but just by adding a -I option to configure and fixing the | makefiles. You even caused trobles for yourself by installing FCPackage | from source and hence have multiple Xft.h files, which i don't. Sure | your way works too, but it is not as clean, and not as easy IMO. | | Mvh | Troels -- Vadim Plessky SVG Icons * BlueSphere Icons 0.3.0 released http://svgicons.sourceforge.net My KDE page http://kde2.newmail.ru (English) KDE mini-Themes http://kde2.newmail.ru/themes/ >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<