Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13489 - Several apps that need QT don�t compile
Summary: Several apps that need QT don�t compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 13593 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-08 08:28 UTC by Paul Pascha
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pascha 2003-01-08 08:28:08 UTC
when compiling several apps that need qt....for example kdebase-3.0.5 or arts
(as dependency for kde3.1_rc6) i get this error during configure when checking
for qt:
 
checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt) not found.
Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compile Qt with thread support!

I have qt installed and also have the libqt-mt libraries in /usr/qt/3/lib.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-01-08 13:37:38 UTC
Is /usr/qt/3/lib mentioned in /etc/ld.so.conf? If not, add it and run
"ldconfig". Then try emerging kdebase (or other KDE-apps that failed before)
again. Keep us posted.
Comment 2 Paul Pascha 2003-01-08 13:58:57 UTC
Yes, /usr/qt/3/lib is mentioned in /etc/resolv.conf

Comment 3 Paul Pascha 2003-01-08 14:26:54 UTC
I checked my config.log in /var/tmp/portage/kdebase-3.0.5/work and there i found
this:

configure:19070: checking for Qt
configure: 19132: /usr/qt/3/include/qstyle.h
taking that
configure:19237: rm -rf SunWS_cache; g++ -o conftest -DNDEBUG -DNO_DEBUG -O2
-march=pentium3 -mcpu=pentium3 -O3 -pipe -DXFT_WITH_FONTCONFIG -DHAVE_XFT2
-fno-exceptions -fno-check-new -I/usr/qt/3/include -I/usr/X11R6/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/qt/3/lib -L/usr/X11R6/lib  
conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE 
-lresolv -lpthread 1>&5
/usr/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelOrder'
collect2: ld returned 1 exit status
configure:19240: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 303)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:19279: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check
your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

Anyone?
Comment 4 Paul Pascha 2003-01-08 14:54:49 UTC
In comment number 2 i mentiond /etc/resolv.conf...

this must be /etc/ld.so.conf
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-08 15:36:08 UTC
maybe your qt is linked against an old version of libXft (if you updated xft after 
merging qt this could had happen). is x11-libs/xft merged? which version? 
please also look into /var/log/emerge.log or the order of qt and xft (which was 
merged first)? 
Comment 6 Paul Pascha 2003-01-09 11:42:55 UTC
I
Comment 7 Paul Pascha 2003-01-09 11:42:55 UTC
I´ve got xft-2.0.1-r1 installed.....(Before i emerged QT and i tried remerging it)

By the way, i am getting almost the same error (in my config .log) when
compiling GTK-2.2....
Comment 8 Paul Pascha 2003-01-09 12:53:32 UTC
I fixed it by doing this:  emerge unmerge mozilla gtk+ emerge -C pango freetype emerge gtk+  i found this solution in another bug post about the GTK2.2 problem which i also had.... but it also fixes the problem i had with my QT apps...  still don
Comment 9 Paul Pascha 2003-01-09 12:53:32 UTC
I fixed it by doing this:  emerge unmerge mozilla gtk+ emerge -C pango freetype emerge gtk+  i found this solution in another bug post about the GTK2.2 problem which i also had.... but it also fixes the problem i had with my QT apps...  still don´t know what caused the problem though...   
Comment 10 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-09 15:06:25 UTC
you remember which freetype you had before fixing this bug? 
Comment 11 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-09 16:26:52 UTC
added xft/gnome devs to cc, please take a look how this bug is fixed. 
please also take a look to bug #13593, which is probably the same root. 
Comment 12 foser (RETIRED) gentoo-dev 2003-01-09 19:03:38 UTC
Could this still be from mozilla using it's own nonrenamed xft libs ? That would
explain why a remova/reemergl of mozilla fixed the problem. 

What do you say az ?
Comment 13 Hannes Mehnert (RETIRED) gentoo-dev 2003-01-14 10:57:58 UTC
*** Bug 13593 has been marked as a duplicate of this bug. ***
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-17 05:37:43 UTC
Possible.
Comment 15 Dan Armak (RETIRED) gentoo-dev 2003-01-31 17:16:30 UTC
Azarah & foser, I don't think you have any futher interst in this? So closing it since it's fixed for 
the submitter.