[PyQt] Installing PyQT on a Mac 10.5.8 PPC

William Kyngesburye woklist at kyngchaos.com
Wed Aug 18 21:39:50 BST 2010

On Aug 18, 2010, at 2:47 PM, bestenborstel wrote:

> Dear List,
> I tried William's suggestions after installing the current SDK QT Mac version.
> Again I got the this time the error:
> wk-28-229:PyQt-mac-gpl-4.7.4 gudrun$ python configure.py -d /Library/Frameworks/Python.framework/Versions/2.6/site-packages/ -b /usr/local/bin -v /usr/local/share/sip --use-arch=ppc -s /Developer/SDKs/MacOSX10.5.sdk --verbose -e /usr/local/includePassword:
> Determining the layout of your Qt installation...
> /Volumes/Sun/Developer/Tools/Qt/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
> make -f qtdirs.mk
> g++ -c -pipe -g -gdwarf-2 -arch i386 -Wall -W -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.6/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
> g++ -headerpad_max_install_names -arch i386 -o qtdirs.app/Contents/MacOS/qtdirs qtdirs.o   -F/Library/Frameworks -L/Library/Frameworks -framework QtCore
> qtdirs.app/Contents/MacOS/qtdirs
> /bin/sh: qtdirs.app/Contents/MacOS/qtdirs: Bad CPU type in executable
> Error: qtdirs.app/Contents/MacOS/qtdirs failed to create qtdirs.out. Make sure
> your Qt v4 installation is correct.
> wk-28-229:PyQt-mac-gpl-4.7.4 gudrun$
Make sure you first rebuild and install SIP with the PPC arch option.  You may need to start with fresh SIP source so it's completely clean of any old configuration.

William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>

All generalizations are dangerous, even this one.

More information about the PyQt mailing list