[Pythonmac-SIG] Python 2.4 on Tiger

Bob Ippolito bob at redivi.com
Thu May 26 00:56:34 CEST 2005


On May 25, 2005, at 3:35 PM, Tim Cornwell wrote:

> Bob Ippolito <bob <at> redivi.com> writes:
>
>> On May 25, 2005, at 12:53 AM, Tim Cornwell wrote:
>>
>>
>>>
>>> This might be a RTFM question so apologies if so. I've used
>>> darwinports to build python2.4 on Tiger. When I run python2.4, I get
>>> the following:
>>>
>>> fuji:~ root# python2.4
>>> sem_init: Function not implemented
>>> sem_wait: Bad file descriptor
>>> sem_post: Bad file descriptor
>>> sem_wait: Bad file descriptor
>>> sem_post: Bad file descriptor
>>> sem_init: Function not implemented
>>>
>>> The command prompt eventually appears and seems to work but I
>>> continue getting similar messages. Can anyone help?
>>>
>>
>> Python 2.4.1 shouldn't do that.  Maybe your ports tree is old or
>> perhaps you have a panther version of Xcode installed?
>>
>
> One (the?) problem is that I'm building against gcc 3.3 instead of  
> 4.0. I'm
> linking against a library that won't build with 4.0 (yet). I'll  
> probably go back
> and use 2.3 instead.

Just use the binary distribution of python 2.4.1 and gcc_switch to  
3.3 before building your extension.  It's not C++ code, the Mach-O  
calling convention or C ABI haven't changed.

-bob



More information about the Pythonmac-SIG mailing list