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

List:       kde-devel
Subject:    Re: Qt-3.1.1 under RedHat 8.0
From:       Troels Tolstrup <troels () tolstrup ! org>
Date:       2002-12-25 1:45:14
[Download RAW message or body]

On Tirsdag den 24. december 2002 11:54, James Richard Tyrer wrote:
> This shouldn't be necessary as it works 'out of the box' with
> FCPackage installed from source.

Which is a non-option to many as they don't want non rpm's in the system 
dirs.

> [jrt@localhost lib]$ ldd libqt-mt.so.3.1.1
>          libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40631000)
>          libz.so.1 => /usr/local/lib/libz.so.1 (0x4065e000)
>          libGL.so.1 => /usr/local/lib/libGL.so.1 (0x4066c000)
>          libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40861000)
>          libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1
> (0x40877000) libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4087f000)

Either you installed something extra, or you created a symlink yourself. 
In a standard redhat 8 installer there are no 
/usr/X11R6/lib/libXft.so.2. The only Xft in /usr/X11R6, as far as i can 
tell, is an old version coming with XFree. The Xft rpms installed the 
libraries to /usr/lib and the headers in /usr/lib/Xft2

I added a -I /usr/include/Xft2 when running configure, and then ran this 
command after configured finished. (from the qt toplevel dir)

find . -name "Makefile" | xargs perl -pi -e 's/-lXft/-lXft2 
-lfontconfig/g'

And then it compiled and linked just fine.

Mvh
Troels

 
>> 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