Seite 1 von 1

Bekomme PyQt 4.5 Snapshot nicht installiert

Verfasst: Samstag 21. März 2009, 17:01
von snafu
Es kommt eine Fehlermeldung:

Code: Alles auswählen

~/PyQt-x11-gpl-4.5-snapshot-20090320$ python configure.py --verbose
Determining the layout of your Qt installation...
/usr/bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I. -o qtdirs.o qtdirs.cpp
qtdirs.cpp:1:17: error: QFile: Datei oder Verzeichnis nicht gefunden
qtdirs.cpp:2:24: error: QLibraryInfo: Datei oder Verzeichnis nicht gefunden
qtdirs.cpp:3:23: error: QTextStream: Datei oder Verzeichnis nicht gefunden
qtdirs.cpp: In function 'int main(int, char**)':
qtdirs.cpp:7: error: 'QFile' was not declared in this scope
qtdirs.cpp:7: error: expected `;' before 'outf'
qtdirs.cpp:9: error: 'outf' was not declared in this scope
qtdirs.cpp:9: error: 'QIODevice' has not been declared
qtdirs.cpp:9: error: 'QIODevice' has not been declared
qtdirs.cpp:9: error: 'QIODevice' has not been declared
qtdirs.cpp:12: error: 'QTextStream' was not declared in this scope
qtdirs.cpp:12: error: expected `;' before 'out'
qtdirs.cpp:14: error: 'out' was not declared in this scope
qtdirs.cpp:14: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:14: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:15: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:15: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:16: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:16: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:17: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:17: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:18: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:18: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:19: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:19: error: 'QLibraryInfo' has not been declared
qtdirs.cpp:21: error: 'QT_VERSION' was not declared in this scope
qtdirs.cpp:22: error: 'QT_EDITION' was not declared in this scope
qtdirs.cpp:64: error: 'qreal' was not declared in this scope
make: *** [qtdirs.o] Fehler 1
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
Von den Qt-Paketen habe ich die jeweiligen 4.5.0-2 Versionen aus `debian experimental` installiert.

Kann mir jemand weiterhelfen?

Verfasst: Sonntag 22. März 2009, 11:05
von sma
Und hast du mal `Try again using the --verbose flag to see more detail about the problem.` ausprobiert? Vielleicht hilft das ja wirklich :)

Stefan

Verfasst: Sonntag 22. März 2009, 11:54
von lunar
Schau dir mal seine Kommandozeile an ... ;)

Verfasst: Sonntag 22. März 2009, 12:11
von hendrikS
Es können doch offensichtlich 3 include files nicht gefunden werden.
Das was Du bauen willst und das was Du hast paßt irgendwie nicht zusammen?

Der Rest sind Folgefehler.

Verfasst: Sonntag 22. März 2009, 17:00
von snafu
Problem scheint gelöst zu sein. Ich musste noch `libqt4-dev` aus `experimental` installieren. Im Moment läuft `make`...

Eigentlich eine recht triviale Geschichte. Hendriks Hinweis hatte mich dazu gebracht, mal zu gucken, wo `QFile` überhaupt drin ist. Und in diesem Paket sind auch die anderen benötigten Dateien. Danke. :)