[PyQt] Can't build sip as universal binary on Leopard

Kevin Walzer kw at codebykevin.com
Tue Jan 1 22:24:38 GMT 2008


I'm trying to build sip as a universal binary on OS X 10.5.1, using the 
"python configure.py -n" flag documented in the configure.py help 
message. I have Xcode 3.0 and a universal binary of Python 2.5.1 
installed, as well as the 10.4 Universal SDK.  (I'm using my own build 
of Python in /Library/Framworks, not the Python bundled with OS X.)

For some reason, sip won't build as a universal binary. Here are the 
error messages I get:

<snip>
cc -c -pipe -arch ppc -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -Os -w -I. -o parser.o parser.c
cc -c -pipe -arch ppc -arch i386 -isysroot 
/Developer/SDKs/MacOSX10.4u.sdk -Os -w -I. -o lexer.o lexer.c
c++ -headerpad_max_install_names -arch ppc -arch i386 
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -o sip main.o 
transform.o gencode.o export.o heap.o parser.o lexer.o
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
ld: library not found for -lcrt1.10.5.o
collect2: ld returned 1 exit status
lipo: can't open input file: 
/var/folders/JH/JHujB-vC2P8byE+1YxAD4++++TI/-Tmp-//ccq2LyEa.out (No such 
file or directory)
make[1]: *** [sip] Error 1
make: *** [all] Error 2
</snip>

Anyone else see this error? I built sip and PyQt fine from source on 
10.4 several months ago. A search of the list archives turned up nothing 
useful about the above errors.

--Kevin

-- 
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


More information about the PyQt mailing list