[Pythonmac-SIG] py2app error with /usr/bin/strip
altern
altern2 at gmail.com
Mon Feb 5 14:38:14 CET 2007
Hi
I am getting this error when trying to use py2app.
$ py2applet --make-setup glut_opengl.py
$ python setup.py py2app
...
...
stripping bz2.so
stripping zlib.so
stripping _codecs_tw.so
stripping umath.so
stripping binascii.so
/usr/bin/strip: for architecture i386 object:
/Users/xxx/ixi/python/dist/glut_opengl.app/Contents/MacOS/python
malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD
command 13 can't byte swap it)
/usr/bin/strip: for architecture i386 object:
/Users/xxx/ixi/python/dist/glut_opengl.app/Contents/MacOS/glut_opengl
malformed object (unknown flavor for flavor number 0 in LC_UNIXTHREAD
command 10 can't byte swap it)
stripping saved 8991796 bytes (7898608 / 16890404)
I also tried with
$ python setup.py py2app --prefer-ppc
but i got the same error. Because of the '/usr/bin/strip: for
architecture i386 object' I thought it might be a problem with my
processor, note that I am working on an old G3 ppc ibook, I am running
OS 10.4.8 and python 2.4.4, Py2app version is 0.3.5 .
Later I tried with another script, one that does not use pyOpengl, same
error again.
thanks
enrike
More information about the Pythonmac-SIG
mailing list