here is the script that I use ./configure $1 $2 -platform linux-g++-64 -system-nas-sound -qt-sql-mysql -qt-gif -thread -stl On Tuesday 07 June 2005 01:47 pm, Thomas Köhler wrote:
Hello,
I tried to compile some Qt applications on a new installed Suse 9.3 on a AMD 64 bit processor. After ./configure --prefix=.....
I get the error .... checking for libjpeg6b... no checking for libjpeg... no configure: WARNING: libjpeg not found. disable JPEG support. 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! ....
config.log shows
.... configure:28403: checking for Qt configure: 28468: /usr/lib/qt3/include/qstyle.h taking that tried NO configure:28586: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib64 conftest.cc -lqt-mt -lpng -lz -lm -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bi n/ld: skipping incompatible /usr/lib/qt3/lib/libqt-mt.so when searching for -lqt-mt /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bi n/ld: cannot find -lqt-mt collect2: ld returned 1 exit status ....
libqt-mt is present in a 32 and a 64 bit version:
/usr/lib/qt3/lib/libqt-mt.so.3 /usr/lib/qt3/lib/libqt-mt.la /usr/lib/qt3/lib/libqt-mt.so /usr/lib/qt3/lib/libqt-mt.so.3.3.4 /usr/lib/qt3/lib/libqt-mt.so.3.3 /usr/lib/qt3/lib64/libqt-mt.so.3 /usr/lib/qt3/lib64/libqt-mt.prl /usr/lib/qt3/lib64/libqt-mt.la /usr/lib/qt3/lib64/libqt-mt.so /usr/lib/qt3/lib64/libqt-mt.so.3.3.4 /usr/lib/qt3/lib64/libqt-mt.so.3.3 /usr/lib/libqt-mt.so.3 /usr/lib64/libqt-mt.so.3
Any ideas?
Best regards,
Thomas