[PyQt] Building multiarch on Mac OS X

Jeremy Sanders jeremy at jeremysanders.net
Fri Feb 22 18:53:24 GMT 2013


On 22/02/13 15:55, Phil Thompson wrote:

> Have you looked at...
>
> http://pyqt.sourceforge.net/Docs/PyQt4/installation.html#ref-macos

Thanks Phil - I shouldn't look for instructions on google.

I however get a problem using the 10.6 SDK, but 10.7 works ok. I assume 
that it will still work on 10.6!

Jeremy

Jeremys-Mac:sip-4.14.3 jss$ python configure.py --arch i386 --arch 
x86_64 --deployment-target 10.6 --sdk 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
This is SIP 4.14.3 for Python 2.7.3 on darwin.
The SIP code generator will be installed in
/Library/Frameworks/Python.framework/Versions/2.7/bin.
The sip module will be installed in
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages.
The sip.h header file will be installed in
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7.
The default directory to install .sip files in is
/Library/Frameworks/Python.framework/Versions/2.7/share/sip.
The platform/compiler configuration is macx-g++.
MacOS/X binaries will be created for i386, x86_64.
MacOS/X universal binaries will be created using
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk.
MacOS/X deployment target is 10.6.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
Jeremys-Mac:sip-4.14.3 jss$ make
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o main.o main.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o transform.o transform.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o gencode.o gencode.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o extracts.o extracts.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o export.o export.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o heap.o heap.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o parser.o parser.c
cc -c -pipe -arch i386 -arch x86_64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-Os -w -DNDEBUG -I. -o lexer.o lexer.c
c++ -headerpad_max_install_names -arch i386 -arch x86_64 
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk 
-o sip main.o transform.o gencode.o extracts.o export.o heap.o parser.o 
lexer.o
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
make[1]: *** [sip] Error 1
make: *** [all] Error 2



More information about the PyQt mailing list