[Scribus] Configure error with qt3.1.0 (scribus 1.0)
etienne at no-log.org
etienne
Wed Jul 16 20:56:50 CEST 2003
Hello everybody
I'm trying to compile scribus 1.0 on my LFS and when running configure I
get this error:
etienne:~/TMP/scribus-1.0$ ./configure --enable-final
--prefix=/opt/kde3.1.0 --with-qt-dir=/opt/kde3.1.0/qt
--with-qt-includes=/opt/kde3.1.0/qt/include
--with-qt-libraries=/opt/kde/qt/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 Qt... configure: error: Qt (>= Qt 3.0.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!
etienne:~/TMP/scribus-1.0$
I'm sure to have QT (version 3.1.0) compiled with thread support. $QTDIR
and $KDEDIR are correctly set.
What's wrong with that?
Thank you very much
Etienne
----------------------------------------
Config.log gives me:
configure:13135: checking for libjpeg
configure:13182: gcc -o conftest -O3 -march=i586 -mcpu=i586
-I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg
-lm >&5
configure:13185: $? = 0
configure:13188: test -s conftest
configure:13191: $? = 0
configure:13209: result: -ljpeg
configure: 13236: /usr/include/jpeglib.h
taking that
configure:13403: checking for Qt
configure: 13471: /opt/kde3.1.0/qt/include//qstyle.h
taking that
configure:13580: rm -rf SunWS_cache; g++ -o conftest -O3 -march=i586
-mcpu=i586 -I/opt/kde3.1.0/qt/include/ -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -L/opt/kde3.1.0/qt/lib/
-L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext
-lX11 -lSM -lICE -lresolv -lpthread 1>&5
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/stl_alloc.h:54,
from
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/alloc.h:21,
from
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/std/bastring.h:39,
from
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/../../../../include/g++-3/string:6,
from /opt/kde3.1.0/qt/include/qstring.h:46,
from /opt/kde3.1.0/qt/include/qwindowdefs.h:44,
from /opt/kde3.1.0/qt/include/qwidget.h:42,
from /opt/kde3.1.0/qt/include/qdesktopwidget.h:40,
from /opt/kde3.1.0/qt/include/qapplication.h:42,
from conftest.cc:3:
confdefs.h:12: previous declaration of `void exit(int)' with C++ linkage
/usr/include/stdlib.h:577: conflicts with new declaration with C linkage
configure:13583: $? = 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 >= 302)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:13623: error: Qt (>= Qt 3.0.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!
More information about the scribus
mailing list