On Wednesday 12 May 2004 21:25, Matt T. wrote:
On Wednesday 12 May 2004 16:46, Konstantinos Georgokitsos wrote:
On Tuesday 11 May 2004 20:54, Matt T. wrote:
(you should post in english, then you get more answers on this list.)
Ooops! Quick recap: On SuSE 8.1. with KDE 3.2.2 (SuSE) I get the following error with
kmldonkey-0.10pre3> ./configure --prefix=/opt/kde3 checking build system type... i686-pc-linux-gnu [...] checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (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!
I had similar compile errors, however not about "Qt with thread support", but about Qt in general. Depending on how the configure script of kmldonkey is build, this could be also what is causing your error.
I get the same error as above with another KDE program kalbum.
which lets me assume that you see a similar problem as described in the configure script.
What does your config.log say? It is in the same directory in which you configure.
Yes, it is in the same directory:
configure:28538: checking for Qt
configure: 28606: /usr/lib/qt3/include/qstyle.h
taking that
tried NO
configure:28721: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
-Wno-long-long -Wunde
f -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-excep
tions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUP
PORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt
-lpng -lz -lm
-ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Seek_Stream'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Get_Short'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Forget_Frame'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Access_Frame'
/usr/lib/qt3/lib/libqt-mt.so: undefined reference to `FT_Get_Long'
collect2: ld returned 1 exit status
configure:28724: $? = 1
configure: failed program was:
#include "confdefs.h"
#include
Have a look at this:
The reason for the error I saw was that a certain version of kde's acinclude.m4 or aclocal.m4 ( which you or the one who created the configure script for the app you try to compile probably got in an upgrade) does mess up the generation of the configure file.
QUICK FIX: modify your configure script: =========================== 1) look for the line kde_line="$kde_line -impl actest.h actest.ui > actest.cpp"
2) take out: -impl actest.h the line should be now: kde_line="$kde_line actest.ui > actest.cpp"
3) look for "klineedit" and change it to "KLineEdit" The line should be: if test -f actest.cpp && grep KLineEdit actest.cpp > /dev/null;
That dind't help. I stll get the same error...
Did you have to make the modifications as described above, or did your configure script not show the problematic lines at all?
Yes, I did have to apply your proposed changes. It didn't seem though to have to do with the Qt problem.
I also saw, upon a tip, that there are new qt3 packages available from SuSE but that didn't help either...
If my assumption is correct, you will not get rid of this error by upgrading qt or kde, but by fixing the configure script.
A new version of the programs which you try to build however could help, if they do not contain the incorrect configure script anymore.
Ok, but the programs are the lates versions at the moment.
<snip>
HTH, Matt
Cheers, Kostas