[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:       "christopher j bottaro" <cjb () cs ! utexas ! edu>
Date:       2002-12-24 8:36:30
[Download RAW message or body]

first off, how did qt's configure auto detect xft without you making some
symlinks or editing the configure.test (or whatever its called) file?

second off, i've done this twice.  once for qt-3.1.0 and again for qt-3.1.1.
both times i've followed instructions from people on mailing lists.

for qt-3.1.0, the process includes making some symlinks, making sure some
xft and fontconfig devel packages (as well as the non devel packages,
duh...;) are installed, then finally editing ALL the project makefiles to
link to xft AND fontconfig.  that last step must be done after you run
configure (and can easily be done with perl and a regular expression).

for qt-3.1.1, the fix posted was much simpler.  you simply change two lines
in the configure.test (dunno if thats the exact name) file, then add to your
configure command line options '-I/usr/include/Xft2'.

i know what you're thinking.  'i can't believe i read this entire email to
get these half assed directions on how to kinda do something!!'.  well, send
me an email and when i go back home and check my email, i'll have the exact
directions for you.  that'll prolly be around new years though...=/  ahh
well, i'm sure plenty of people on this list can tell you how to do it...

-- christopher

----- Original Message -----
From: "Olaf Mueller" <muellero@gmx.net>
Newsgroups: istari.mlist.desktop.kde-devel
To: <kde-devel@ktown.kde.org>; <maillist@istari.de>
Sent: Monday, December 23, 2002 10:59 AM
Subject: Qt-3.1.1 under RedHat 8.0


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

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