On 10/29/06, Chris Van Bael <[EMAIL PROTECTED]> wrote: > 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?
It looks like you probably didn't install py2app properly. Perform a full uninstallation and follow the installation instructions in the documentation. http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html#installation -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig