Hi people.
I am using KDE 3.0.0, Qt 3.2.3 and gcc 3.1.1.
I am trying to compile KDE 3.2.3 from stable source code, and the qt library is not detected. Example:
Debian:/usr/src/KDE-3.2.3/arts-1.2.3# ./configure --prefix=/usr/local/Apps/KDE-3.2.3 --with-qt-dir=/usr/local/qt-3.2.3/ --with-qt-includes=/usr/local/qt-3.2.3/include/ --with-qt-libraries=/usr/local/qt-3.2.3/lib/
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
( etc, etc, etc)
checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.2) (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!
And yes, I have qt compiled with thread support, KDE 3.0.0 needs it
In config.log, I found this:
configure:31067: checking for perl
configure:31124: result: /usr/bin/perl
configure:31260: checking for Qt
configure: 31331: /usr/local/qt-3.2.3/include//qstyle.h
taking that
configure:31443: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_
SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings
-O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/local/qt-3.
2.3/include/ -I/usr/X11R6-1.2/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/local/qt-3.2.3/lib/ -L/usr/X1
1R6-1.2/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glDeleteLists@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXQueryExtension@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXSwapBuffers@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glCallLists@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXCreateGLXPixmap@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glReadPixels@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glClearIndex@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXWaitX@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glRasterPos3d@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glFlush@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glListBase@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXDestroyGLXPixmap@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glPopAttrib@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXMakeCurrent@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glMatrixMode@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glViewport@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXGetClientString@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glClearColor@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXQueryServerString@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glPushMatrix@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXQueryExtensionsString@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glRasterPos2i@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXChooseVisual@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXCreateContext@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glIndexi@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glPushAttrib@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glDrawBuffer@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glPopMatrix@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glLoadIdentity@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glColor3ub@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXDestroyContext@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXIsDirect@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXGetConfig@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glOrtho@LIBGL'
/usr/local/qt-3.2.3/lib//libqt-mt.so: undefined reference to `glXUseXFont@LIBGL'
collect2: ld returned 1 exit status
configure:31446: $? = 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 >= 0x030200)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:31486: error: Qt (>= Qt 3.2) (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!
Ideas?