[PyQt] Help installing PyQt on Linux

Aleksandar Nedeljkovic sasko2909 at gmail.com
Fri Aug 7 11:01:08 BST 2009


Hello, me again.

I sucessfully installed sip, but when I tried to install PyQt (typing
"python configure.py"), all I got is:

Error: Failed to determine the layout of your Qt installation. Try again
using
the --verbose flag to see more detail about the problem.

When I type "python configure.py --verbose" I got next:

Determining the layout of your Qt installation...
/usr/bin/qmake -o qtdirs.mk qtdirs.pro
make -f qtdirs.mk
g++ -c -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
-DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -o qtdirs.o
qtdirs.cpp
qtdirs.cpp:1:17: QFile: No such file or directory
qtdirs.cpp:2:24: QLibraryInfo: No such file or directory
qtdirs.cpp:3:23: QTextStream: No such file or directory
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: `WriteOnly' was not declared in this scope
qtdirs.cpp:9: error: `QIODevice' has not been declared
qtdirs.cpp:9: error: `Truncate' was not declared in this scope
qtdirs.cpp:9: error: `QIODevice' has not been declared
qtdirs.cpp:9: error: `Text' was not declared in this scope
qtdirs.cpp:9: warning: unused variable 'outf'
qtdirs.cpp:9: warning: unused variable 'WriteOnly'
qtdirs.cpp:9: warning: unused variable 'Truncate'
qtdirs.cpp:9: warning: unused variable 'Text'
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:14: error: `PrefixPath' was not declared in this scope
qtdirs.cpp:14: error: `location' was not declared in this scope
qtdirs.cpp:15: error: `QLibraryInfo' has not been declared
qtdirs.cpp:15: error: `QLibraryInfo' has not been declared
qtdirs.cpp:15: error: `HeadersPath' was not declared in this scope
qtdirs.cpp:16: error: `QLibraryInfo' has not been declared
qtdirs.cpp:16: error: `QLibraryInfo' has not been declared
qtdirs.cpp:16: error: `LibrariesPath' was not declared in this scope
qtdirs.cpp:17: error: `QLibraryInfo' has not been declared
qtdirs.cpp:17: error: `QLibraryInfo' has not been declared
qtdirs.cpp:17: error: `BinariesPath' was not declared in this scope
qtdirs.cpp:18: error: `QLibraryInfo' has not been declared
qtdirs.cpp:18: error: `QLibraryInfo' has not been declared
qtdirs.cpp:18: error: `DataPath' was not declared in this scope
qtdirs.cpp:19: error: `QLibraryInfo' has not been declared
qtdirs.cpp:19: error: `QLibraryInfo' has not been declared
qtdirs.cpp:19: error: `PluginsPath' was not declared in this scope
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:24: error: `QLibraryInfo' has not been declared
qtdirs.cpp:24: error: `licensee' was not declared in this scope
qtdirs.cpp:66: error: `qreal' was not declared in this scope
qtdirs.cpp:66: warning: unused variable 'qreal'
qtdirs.cpp:7: warning: unused variable 'QFile'
qtdirs.cpp:12: warning: unused variable 'QTextStream'
qtdirs.cpp:14: warning: unused variable 'PrefixPath'
qtdirs.cpp:15: warning: unused variable 'HeadersPath'
qtdirs.cpp:16: warning: unused variable 'LibrariesPath'
qtdirs.cpp:17: warning: unused variable 'BinariesPath'
qtdirs.cpp:18: warning: unused variable 'DataPath'
qtdirs.cpp:19: warning: unused variable 'PluginsPath'
qtdirs.cpp:21: warning: unused variable 'QT_VERSION'
qtdirs.cpp:22: warning: unused variable 'QT_EDITION'
qtdirs.cpp:24: warning: unused variable 'licensee'
make: *** [qtdirs.o] Error 1

and so on.

I know that is probably some stupid mistake, like the last time.

I am using CentOs 4.4.

Thanks in advance!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090807/9ef75491/attachment-0001.html


More information about the PyQt mailing list