[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pythonmac-sig
Subject:    Re: [Pythonmac-SIG] Problems with py2app for i386
From:       "Chris Van Bael" <chris.van.bael () gmail ! com>
Date:       2006-11-08 8:01:40
Message-ID: 5465ee790611080001n16192e59w5bc1f526e98fb10 () mail ! gmail ! com
[Download RAW message or body]

On 10/30/06, Bob Ippolito <bob@redivi.com> wrote:
> On 10/29/06, Chris Van Bael <chris.van.bael@gmail.com> 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
> 

Hi all,

I uninstalled py2app as described on that webpage.
Went through my HD with Finder and Spotlight and removed everything
that mentioned py2app.

Reinstalled py2app via easy_install.

End result: same problem!

Also tried the --no-strip and --prefer-ppc options, but they didn't help.
Any ideas?
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic