hi again I solved the problem by doing $ python setup.py py2app --no-strip
I read this about strip --strip (-S) strip debug and local symbols from output (on by default, for compatibility) could anyone explain a bit more about what this is? or maybe point to somewhere i can read about it. I am interested because last time i used this machine i did not need to use this (only use it every now and then for testing on OSX), so I am trying to find out what is the difference from last time. thanks enrike altern wrote: > 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 > _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig