[Pythonmac-SIG] PyObjC/Py2App build problem

Michael Glassford glassfordm at hotmail.com
Mon Jun 5 20:42:17 CEST 2006


Ronald Oussoren wrote:
> 
> On 2-jun-2006, at 22:39, Michael Glassford wrote:
> 
>> This seems to have worked for me. I'm now getting another error (at 
>> the end of this message). I haven't had time to look at it yet because 
>> of other things that came up today, so it may be something simple.
> 
> This looks like PyObjC being build for PPC being used on Intel, that is 
> the architecture for which PyObjC is build doesn't match the 
> architecture of the currently running interpreter. The easiest way to 
> fix this is probably to build a universal binary of PyObjC, there's an 
> AUTO_UNIVERSAL option at the top of setup.py that enables building a 
> universal binary with Apple's distribution of Python 2.3.

I'm not using Apple's distribution of Python 2.3, so I didn't think this 
was necessary (I'm using 2.4.1 from from 
http://pythonmac.org/packages/py24-fat/). However, doing this fixed the 
problem and the application now works.

Thanks for the help!

Mike



More information about the Pythonmac-SIG mailing list