[K2d-develop] Qt version question
Status: Planning
Brought to you by:
ege
|
From: D. S. <st...@co...> - 2004-03-24 07:46:59
|
I'm not on the email list, so please send any replies also to my address.
I have Redhat with KDE 3.0.5a-0.73.0. My Qt is 3.0.5-7.14, and I have
qt-mt threaded libs of the same version.
Whenever I try to run ./configure, regardless of whether I manually name
the qt directory or not, it says:
...
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 compiled Qt with thread support!
Going to config.log, I see (I added a blank line before 3 ld warnings):
...
configure:20822: checking for Qt
configure: 20889: /usr/lib/qt-3.0.5/include/qstyle.h
taking that
configure:20999: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
-Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2
-fno-exceptions -fno-check-new -I/usr/lib/qt-3.0.5/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
-L/usr/lib/qt-3.0.5/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng
-lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/usr/bin/ld: warning: libXmu.so.6, needed by
/usr/lib/qt-3.0.5/lib/libqt-mt.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libXrender.so.1, needed by
/usr/lib/qt-3.0.5/lib/libqt-mt.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libXft.so.1, needed by
/usr/lib/qt-3.0.5/lib/libqt-mt.so, not found (try using -rpath or
-rpath-link)
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftFreeTypeOpen'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftInit'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderQueryExtension'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderFreePicture'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftPatternBuild'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftGlyphLoad'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftFreeTypeClose'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XftFreeTypeGlyphExists'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftNameUnparse'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderFillRectangle'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderCompositeString16'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XftPatternGetInteger'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XRenderComposite'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderFindVisualFormat'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XftPatternDestroy'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderSetPictureClipRegion'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftListFonts'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XftFontSetDestroy'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XftPatternGetString'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderChangePicture'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XmuLookupStandardColormap'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftGlyphCheck'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XftPatternAddBool'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderFindFormat'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to
`XRenderCreatePicture'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftInitFtLibrary'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftFontMatch'
/usr/lib/qt-3.0.5/lib/libqt-mt.so: undefined reference to `XftNameParse'
collect2: ld returned 1 exit status
configure:21002: $? = 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:21042: 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!
Now as far as the other libraries it claims Qt needs but which are
missing, those are also all present, Xmu might not be the requested
version. Locate shows:
/usr/X11R6/lib/libXmu.so.6
/usr/X11R6/lib/libXmu.so.6.2
/usr/X11R6/lib/libXmuu.so.1
/usr/X11R6/lib/libXmuu.so.1.0
/usr/X11R6/lib/libXmu.a
/usr/X11R6/lib/libXmu.so
/usr/X11R6/lib/libXmuu.a
/usr/X11R6/lib/libXmuu.so
/usr/i386-glibc21-linux/lib/libXmu.so
/usr/i386-glibc21-linux/lib/libXmu.so.6
/usr/i386-glibc21-linux/lib/libXmu.so.6.0
/usr/X11R6/lib/libXft.so.1
/usr/X11R6/lib/libXft.so.1.1
/usr/X11R6/lib/libXft.a
/usr/X11R6/lib/libXft.so
/usr/X11R6/lib/libXrender.so.1.1
/usr/X11R6/lib/libXrender.so.1
/usr/X11R6/lib/libXrender.a
/usr/X11R6/lib/libXrender.so
Is lib Xmu the culprit of this failure to configure Qt? 3.0.5 should be
sufficient for Qt > 3.0.3.
D. Stimits, stimits AT comcast DOT net
|