Bei selbstkompilertem Qt kein MySQL-Treiber möglich? Was feh
Verfasst: 28. Dezember 2008 21:36
Servus,
aus diversen Gründen muss ich mir mein Qt auf openSuSe 11.1 selbst kompilieren. Klappt auch alles ganz prima, aber wenn ich mit einem sql-Treiber konfigurieren will hakts. Ebenso beim Phonon- (backend-)Support.
Ausgabe:
Und Phonon scheitert an
Also fehlt wohl die mysql.h bei meiner SuSi. Wo genau werden diese Datei erwartet? Und welche ist das (woher?)? Was muss ich hier noch machen, damit ich mysql und phonon wieder nutzen kann? Bitte kommt mir nicht mit der paketverwaltung, ich weiß, dass es binaries gibt. Ich BRAUCHE es selbstkompiliert.
Gruß,
Phil
aus diversen Gründen muss ich mir mein Qt auf openSuSe 11.1 selbst kompilieren. Klappt auch alles ganz prima, aber wenn ich mit einem sql-Treiber konfigurieren will hakts. Ebenso beim Phonon- (backend-)Support.
Ausgabe:
Code: Alles auswählen
#./configure -release -largefile -phonon -phonon-backend -qt-libpng -qt-libjpeg -xmlpatterns -qt-gif -qt-sql-mysql
/// bla bla bla ///
InterBase auto-detection... ()
g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o ibase.o ibase.cpp
ibase.cpp:1:19: error: ibase.h: Datei oder Verzeichnis nicht gefunden
make: *** [ibase.o] Fehler 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:1:19: error: mysql.h: Datei oder Verzeichnis nicht gefunden
make: *** [mysql.o] Fehler 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o mysql.o mysql.cpp
mysql.cpp:1:19: error: mysql.h: Datei oder Verzeichnis nicht gefunden
make: *** [mysql.o] Fehler 1
MySQL (thread-unsafe) disabled.
MySQL support cannot be enabled due to functionality tests!
MySQL support cannot be enabled due to functionality tests!
If you believe this message is in error you may use the continue
switch (-continue) to ./configure to continue.
Code: Alles auswählen
GStreamer auto-detection... ()
g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o gstreamer.o gstreamer.cpp
gstreamer.cpp:1:21: error: gst/gst.h: Datei oder Verzeichnis nicht gefunden
gstreamer.cpp:2:42: error: gst/interfaces/propertyprobe.h: Datei oder Verzeichnis nicht gefunden
gstreamer.cpp:3:37: error: gst/interfaces/xoverlay.h: Datei oder Verzeichnis nicht gefunden
gstreamer.cpp:7:4: error: #error "No GST_VERSION_* macros"
gstreamer.cpp:12: warning: unused parameter ‘argc’
gstreamer.cpp:12: warning: unused parameter ‘argv’
make: *** [gstreamer.o] Fehler 1
GStreamer disabled.
Phonon support cannot be enabled due to functionality tests!
Gruß,
Phil