[Pythonmac-SIG] PyObjC/Py2App build problem

Bob Ippolito bob at redivi.com
Mon Jun 5 21:02:00 CEST 2006


On Jun 5, 2006, at 11:42 AM, Michael Glassford wrote:

> 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.

If you got it from there, it's 2.4.3, not 2.4.1 (Universal- 
MacPython-2.4.3-2006-04-07.dmg).

-bob



More information about the Pythonmac-SIG mailing list