I am trying to install PyQt on Snow Leopard, but I am having trouble with the configuration:<br> <br>Running:<br><br><div style="margin-left: 40px;">> python configure.py <br></div><br>results in the following error:<br>
<br><div style="margin-left: 40px;">Determining the layout of your Qt installation...<br>/usr/bin/qmake -spec macx-g++ -o <a href="http://qtdirs.mk">qtdirs.mk</a> <a href="http://qtdirs.pro">qtdirs.pro</a><br>make -f <a href="http://qtdirs.mk">qtdirs.mk</a><br>
g++ -c -pipe -g -gdwarf-2 -Wall -W -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.5/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/usr/include -I. -F/Library/Frameworks -o qtdirs.o qtdirs.cpp<br>
In file included from /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:45,<br> from /Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:45,<br> from /Library/Frameworks/QtCore.framework/Headers/qobject.h:47,<br>
from /Library/Frameworks/QtCore.framework/Headers/qiodevice.h:46,<br> from /Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:45,<br> from /Library/Frameworks/QtCore.framework/Versions/4/Headers/QFile:1,<br>
from qtdirs.cpp:1:<br>/Library/Frameworks/QtCore.framework/Headers/qglobal.h:311:6: warning: #warning "Support for this version of Mac OS X is still preliminary"<br>g++ -headerpad_max_install_names -o qtdirs.app/Contents/MacOS/qtdirs qtdirs.o -F/Library/Frameworks -L/Library/Frameworks -framework QtCore -lz -lm -framework ApplicationServices<br>
ld: warning: in /Library/Frameworks/QtCore.framework/QtCore, missing required architecture x86_64 in file<br>Undefined symbols:<br> "QString::free(QString::Data*)", referenced from:<br> QString::~QString()in qtdirs.o<br>
"QTextStream::operator<<(QString const&)", referenced from:<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br>
_main in qtdirs.o<br> "QLibraryInfo::location(QLibraryInfo::LibraryLocation)", referenced from:<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br>
_main in qtdirs.o<br> _main in qtdirs.o<br> "QFile::~QFile()", referenced from:<br> _main in qtdirs.o<br> _main in qtdirs.o<br> "QFile::open(QFlags<QIODevice::OpenModeFlag>)", referenced from:<br>
_main in qtdirs.o<br> "QTextStream::operator<<(char const*)", referenced from:<br> _main in qtdirs.o<br> _main in qtdirs.o<br> "QTextStream::~QTextStream()", referenced from:<br>
_main in qtdirs.o<br> _main in qtdirs.o<br> "QFile::QFile(QString const&)", referenced from:<br> _main in qtdirs.o<br> "QString::fromAscii_helper(char const*, int)", referenced from:<br>
QString::QString(char const*)in qtdirs.o<br> "QTextStream::QTextStream(QIODevice*)", referenced from:<br> _main in qtdirs.o<br> "QLibraryInfo::licensee()", referenced from:<br> _main in qtdirs.o<br>
"QTextStream::operator<<(char)", referenced from:<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br>
_main in qtdirs.o<br> _main in qtdirs.o<br> _main in qtdirs.o<br> "QTextStream::operator<<(int)", referenced from:<br> _main in qtdirs.o<br> _main in qtdirs.o<br>ld: symbol(s) not found<br>
collect2: ld returned 1 exit status<br>make: *** [qtdirs.app/Contents/MacOS/qtdirs] Error 1<br>Error: Failed to determine the layout of your Qt installation. Try again using<br>the --verbose flag to see more detail about the problem.<br>
</div> <br>Does anybody have experience building PyQt on Snow Leopard? <br><br>Thanks,<br>Celil<br>