[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Qt-3.1.1 under RedHat 8.0
From:       Olaf Mueller <muellero () gmx ! net>
Date:       2002-12-23 16:59:57
[Download RAW message or body]

Hello,

is there a way to compile qt-x11-free-3.1.1 under Redhat 8.0 
(gcc-3.2-7)? I tried this for a week now, but get no solution to solve  
the problems I'm running in. It seems to me that there's an 
incompatibility between the libXft Qt wants and the installed packages 
Xft2 and Xft from XFree86-libs installed from RedHat by default.

At the moment I'm runnung Qt-3.1 and Kde-3.1 sources compiled on my 
previous Redhat 7.1 system before upgrading it to RedHat 8.0. This Kde 
is really great working, but to install newer versions of Kde packages 
or other Kde programs, I've got to compile Qt and Kde once again cause 
of the gcc-3.2-7.

On Qt- Configure everything seems pretty well:

Xft auto-detection... ()
 Found libXft in /usr/X11R6/lib
 Found X11/Xft/Xft.h in /usr/X11R6/include
 Found X11/Xft/XftCompat.h in /usr/X11R6/include
 Found freetype2/freetype/freetype.h in /usr/include
Xft enabled.

But Qt- Make doesn't find the libXft:

-L/usr/X11R6/lib -L/usr/X11R6/lib -lpng -lGL -lXmu -lXrender -lXft 
-lfreetype -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
/usr/bin/ld: cannot find -lXft
collect2: ld returned 1 exit status
make[2]: *** [../lib/libqt-mt.so.3.1.1] Error 1
make[2]: Leaving directory `/usr/local/qt31/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/local/qt31'
make: *** [init] Error 2

These errors happens when I moved the xft2- libraries, so that qt 
should only sees the installed xft from Xfree86. With all xft and xft2 
libraries in the path, I get an error message like 
"/usr/local/qt31/lib/libqt-mt.so: undefined reference to 
`XftCharExists'" and so on ...


These libraries are installed:

ls -la /usr/lib/libXft*
/usr/lib/libXft2.so -> libXft.so.2
/usr/lib/libXft.so.2 -> libXft.so.2.0
/usr/lib/libXft.so.2.0

ls -la /usr/X11R6/lib/libXft*
/usr/X11R6/lib/libXft.so -> libXft.so.1.2
/usr/X11R6/lib/libXft.so.1 -> libXft.so.1.2
/usr/X11R6/lib/libXft.so.1.1 -> libXft.so.1.2
/usr/X11R6/lib/libXft.so.1.2

ls -al /usr/include/X11/Xft
XftCompat.h
Xft.h

Please help me to get a new compiled Kde and Qt working on my system.

Wish you all a nice christmas!

Thank you,
Olaf





 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic