Hi Actually the QTDIR env was set to the old qt installation
I updated it to the newly installed qt4.3 and after this when I tried running configure.py I got the following long output ####################################################################### [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# python2.5 configure.py -w Determining the layout of your Qt installation... /usr/bin/qmake -o qtdirs.mk qtdirs.pro Cannot find directory: ../common Cannot find directory: ../common QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified QFile::open: No file name specified .... .... .... Error processing project file: QFile::open: No file name specified QFile::open: No file name specified qt_config.prf:8: Unknown test function: debug qt_functions.prf:1: Unknown test function: defineReplace qt_functions.prf:18: Unknown test function: defineTest Error processing project file: QFile::open: No file name specified QFile::open: No file name specified qt_config.prf:8: Unknown test function: debug qt_functions.prf:1: Unknown test function: defineReplace qt_functions.prf:18: Unknown test function: defineTest Error processing project file: QFile::open: No file name specified QFile::open: No file name specified qt_config.prf:8: Unknown test function: debug qt_functions.prf:1: Unknown test function: defineReplace qt_functions.prf:18: Unknown test function: defineTest .... .... .... qt_config.prf:8: Unknown test function: debug qt_functions.prf:1: Unknown test function: defineReplace qt_functions.prf:18: Unknown test function: defineTest make -f qtdirs.mk c -DQT_NO_DEBUG -I/usr/local/Trolltech/Qt-4.3.1/mkspecs/default -I. -o qtdirs.o qtdirs.cpp make: c: Command not found make: [qtdirs.o] Error 127 (ignored) o qtdirs qtdirs.o make: o: Command not found make: [qtdirs] Error 127 (ignored) Error: Failed to create ./qtdirs using platform linux-g++. Make sure your compiler is installed correctly and you have a working make on your PATH. [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# ######################################################################## #### -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Thompson Sent: Thursday, September 27, 2007 3:37 PM To: [email protected] Subject: Re: [PyQt] Installation problem in linux On Thursday 27 September 2007, Shyamsundar, Purkayastha (Purkayastha)** CTR ** wrote: > Here is the output from the -w option > > ######################################################################## > #### > [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# python2.5 configure.py -wDetermining > 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: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' > make: *** [qtdirs.o] Error 1 > Error: Failed to create ./qtdirs using platform linux-g++. Make sure > your > compiler is installed correctly and you have a working make on your > PATH. > [EMAIL PROTECTED] PyQt-x11-gpl-4.3]# > ######################################################################## > #### > > It seems something is amiss in terms of qt path,I installed qt v 4 over > qt3.3 ( which was pre installed with os ) That was probably a mistake. > but I am unsble to figure out > the meaning of the last warning, I have gcc installed and I also have > make . Obviously old bits of Qt3 are being found. It's a bit difficult to make suggestions as I've no idea what state your system is now in. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
