[Pythonmac-SIG] PyObjC/Py2App build problem

Ronald Oussoren ronaldoussoren at mac.com
Mon Jun 5 21:02:32 CEST 2006


On 5-jun-2006, at 20:42, 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.

Ehmm, you are NOT using Python 2.4. Look at the error message in your  
original e-mail, this mentions /System/Library/Python.framework/ 
Versions/2.3/.....

Ronald



More information about the Pythonmac-SIG mailing list