Hallo Leute, ich habe ein Problem beim compilieren von qt-Programmen. Nachdem ich nun schon zwei Tage gegoogle habe und immer noch nichts gefunden habe, hoffe ich nun, dass mir hier einer weiter helfen kann. Mein System: - SuSE 8.2 Prof. mit gcc 3.3.1 + KDE 3.2.3 incl. aller devel.-Pakete Mein Problem: Ich möchte z.B. kplayer 0.51 oder showimg compilieren. Nach dem Aufruf von ./configure erscheint folgende Meldung: -- 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! -- In der config.log steht nun das eigentliche Problem: -- configure:28394: checking for Qt configure: 28462: /usr/lib/qt3/include/qstyle.h taking that tried NO configure:28577: 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-securit y -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include -DQ T_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -l Xext -lX11 -lSM -lICE -lpthread 1>&5 In file included from /usr/include/math.h:65, from /usr/include/g++/cmath:51, from /usr/include/g++/bits/locale_facets.tcc:41, from /usr/include/g++/locale:47, from /usr/include/g++/bits/ostream.tcc:37, from /usr/include/g++/ostream:535, from /usr/include/g++/iterator:70, from /usr/lib/qt3/include/qvaluelist.h:48, from /usr/lib/qt3/include/qmap.h:46, from /usr/lib/qt3/include/qmime.h:43, from /usr/lib/qt3/include/qevent.h:45, from /usr/lib/qt3/include/qobject.h:45, from /usr/lib/qt3/include/qwidget.h:43, from /usr/lib/qt3/include/qdesktopwidget.h:40, from /usr/lib/qt3/include/qapplication.h:42, from conftest.cc:3: /usr/include/bits/mathcalls.h:363: error: parse error before `@' token /usr/include/bits/mathcalls.h:363: error: stray '\1' in program /usr/include/bits/mathcalls.h:363: error: parse error before `@' token /usr/include/bits/mathcalls.h:363: error: stray '\5' in program ... Wo steht nun der Fehler ? Ich habe als letztes einige neue Pakete (RPMs) eingespielt und unter anderem auf KDE 3.2.3 upgedated. Aber kann das der Grund sein ? Tschüß Ulf
Ulf Moeller wrote:
ich habe ein Problem beim compilieren von qt-Programmen. Nachdem ich nun schon zwei Tage gegoogle habe und immer noch nichts gefunden habe, hoffe ich nun, dass mir hier einer weiter helfen kann.
Mein System: - SuSE 8.2 Prof. mit gcc 3.3.1 + KDE 3.2.3 incl. aller devel.-Pakete
Ist das der "original" GCC von SuSE 8.2 oder das Update aus ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/projects/gcc/8.2? Es sollten auf alle Faelle die neusten verfuegbaren RPMs installiert sein. Mit der Fruehversion von GCC 3.3 gab es einige Probleme...
[...] -- 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!
Hast Du qt3, qt3-devel und qt3-static installiert? Hier compiliert kplayer 0.5.1 mit QT 3.3.2, KDE 3.2.3 und GCC 3.3.1 unter SuSE 8.2 ohne Probleme durch. CU, Th.
Am Mittwoch, 7. Juli 2004 19:32 schrieb Thomas Hertweck:
Ulf Moeller wrote:
ich habe ein Problem beim compilieren von qt-Programmen. Nachdem ich nun schon zwei Tage gegoogle habe und immer noch nichts gefunden habe, hoffe ich nun, dass mir hier einer weiter helfen kann.
Mein System: - SuSE 8.2 Prof. mit gcc 3.3.1 + KDE 3.2.3 incl. aller devel.-Pakete
Ist das der "original" GCC von SuSE 8.2 oder das Update aus ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/projects/gcc/8.2? Es sollten auf alle Faelle die neusten verfuegbaren RPMs installiert sein. Mit der Fruehversion von GCC 3.3 gab es einige Probleme...
Es handelt sich um die aktuellen GCC 3.3.1 Dateien.
[...] -- 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!
Hast Du qt3, qt3-devel und qt3-static installiert? Hier compiliert kplayer 0.5.1 mit QT 3.3.2, KDE 3.2.3 und GCC 3.3.1 unter SuSE 8.2 ohne Probleme durch. Die qt , devel usw. Pakete sind installiert.
Ich habe inzwischen festgestellt, dass es sich um ein generelles compile-Problem handeln muss, da auch kino 0.71 (= gtk-Programm) mit dem selben Fehler aussteigt. Allerdings erst beim make, dass sieht dann so aus: -- =>:/home/test/kino-0.7.1> make make all-recursive make[1]: Entering directory `/home/test/kino-0.7.1' Making all in po make[2]: Entering directory `/home/test/kino-0.7.1/po' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/home/test/kino-0.7.1/po' Making all in src make[2]: Entering directory `/home/test/kino-0.7.1/src' Making all in cell-renderers make[3]: Entering directory `/home/test/kino-0.7.1/src/cell-renderers' make[3]: Für das Ziel »all« ist nichts zu tun. make[3]: Leaving directory `/home/test/kino-0.7.1/src/cell-renderers' make[3]: Entering directory `/home/test/kino-0.7.1/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -DORBIT2=1 -pthread -I/opt/gnome/include/libglade-2.0 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libart-2.0 -I/usr/include/libxml2 -D_FILE_OFFSET_BITS=64 -DKINO_PLUGINDIR=\""/usr/local/lib/kino-gtk2"\" -DDATADIR=\""/usr/local/share"\" -D_REENTRANT -g -O2 -MT preferences.o -MD -MP -MF ".deps/preferences.Tpo" \ -c -o preferences.o `test -f 'preferences.cc' || echo './'`preferences.cc; \ then mv -f ".deps/preferences.Tpo" ".deps/preferences.Po"; \ else rm -f ".deps/preferences.Tpo"; exit 1; \ fi In file included from /usr/include/math.h:65, from /usr/include/g++/cmath:51, from /usr/include/g++/bits/locale_facets.tcc:41, from /usr/include/g++/locale:47, from /usr/include/g++/bits/istream.tcc:37, from /usr/include/g++/istream:768, from /usr/include/g++/sstream:44, from preferences.cc:33: /usr/include/bits/mathcalls.h:363: error: parse error before `@' token /usr/include/bits/mathcalls.h:363: error: stray '\1' in program /usr/include/bits/mathcalls.h:363: error: parse error before `@' token --
Am Donnerstag, 8. Juli 2004 09:12 schrieb Ulf Moeller: [...]
In file included from /usr/include/math.h:65, from /usr/include/g++/cmath:51, from /usr/include/g++/bits/locale_facets.tcc:41, from /usr/include/g++/locale:47, from /usr/include/g++/bits/istream.tcc:37, from /usr/include/g++/istream:768, from /usr/include/g++/sstream:44, from preferences.cc:33: /usr/include/bits/mathcalls.h:363: error: parse error before `@' token /usr/include/bits/mathcalls.h:363: error: stray '\1' in program /usr/include/bits/mathcalls.h:363: error: parse error before `@' token Die Datei /usr/include/bits/mathcalls.h ist defekt. Reinstallaliere das glibc-devel rpm, das diese Datei enthält.
Am Donnerstag, 8. Juli 2004 18:23 schrieb Markus Kossmann:
Am Donnerstag, 8. Juli 2004 09:12 schrieb Ulf Moeller: [...]
In file included from /usr/include/math.h:65, from /usr/include/g++/cmath:51, from /usr/include/g++/bits/locale_facets.tcc:41, from /usr/include/g++/locale:47, from /usr/include/g++/bits/istream.tcc:37, from /usr/include/g++/istream:768, from /usr/include/g++/sstream:44, from preferences.cc:33: /usr/include/bits/mathcalls.h:363: error: parse error before `@' token /usr/include/bits/mathcalls.h:363: error: stray '\1' in program /usr/include/bits/mathcalls.h:363: error: parse error before `@' token
Die Datei /usr/include/bits/mathcalls.h ist defekt. Reinstallaliere das glibc-devel rpm, das diese Datei enthält.
JAAAAAAA, das war es !! Auf das Einfachste kommt man einfach nicht ;-( VIELEN DANK !!!! Ciao Ulf
participants (3)
-
Markus Kossmann
-
Thomas Hertweck
-
Ulf Moeller