[Pythonmac-SIG] Problems with py2app for i386

Chris Van Bael chris.van.bael at gmail.com
Sun Oct 29 21:55:18 CET 2006


Hi,

I'm building an application on a PPC Mini in Python with PyGame.
When I run "python setup.py py2app" I get a .app file made that runs
on my (and other) PPC Macs.  But it fails on Intel Macs.
I presume these last lines I get have something to do with it:
"
/usr/bin/strip: for architecture i386 object:
/Users/chrisvanbael/Childsplay/Sources/childsplay-0.84.1/dist/childsplay.app/Contents/MacOS/childsplay
malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD
command 10 can't byte swap it)
/usr/bin/strip: for architecture i386 object:
/Users/chrisvanbael/Childsplay/Sources/childsplay-0.84.1/dist/childsplay.app/Contents/MacOS/python
malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD
command 13 can't byte swap it)
stripping saved 11991384 bytes (12298552 / 24289936)
"

Any ideas where my problem is; is it in my code or a problem of py2app
or the strip application?
Do I need to use the no-strip option or prefer-ppc for a universal binary?

Thanks for any help.

Chris


More information about the Pythonmac-SIG mailing list