[Pythonmac-SIG] Building Python 2.3 on Mac OS X 10.5.5

Bill Janssen janssen at parc.com
Mon Dec 1 08:19:44 CET 2008


See http://mail.python.org/pipermail/python-dev/2008-March/077380.html.

Bill

skip at pobox.com wrote:

> I'm trying to build Python 2.3 on my Mac (OS X 10.5.5) so I can use it
> simply to test my lockfile package.  It configures fine and the basic make
> step works, but the executable has some sort of problem with semaphore
> operations:
> 
>     % ./python.exe 
>     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
>     sem_trywait: Bad file descriptor
>     sem_wait: Bad file descriptor
>     sem_post: Bad file descriptor
>     sem_init: Function not implemented
>     ... lots of similar messages ad nauseum ...
>     sem_post: Bad file descriptor
>     sem_init: Function not implemented
>     sem_trywait: Bad file descriptor
>     sem_wait: Bad file descriptor
>     sem_init: Function not implemented
>     sem_post: Bad file descriptor
>     Traceback (most recent call last):
>       File "/Users/skip/.python.py", line 21, in ?
>         from save_session import mark, save, load
>       File "/Users/skip/misc/python/save_session.py", line 21, in ?
>         raise ImportError("session save/restore requires readline module")
>     ImportError: session save/restore requires readline module
>     >>> 
> 
> I compared the code related to sem_init between 2.3 and trunk but didn't see
> anything which looked promising.  Any thoughts?
> 
> Thx,
> 
> -- 
> Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig


More information about the Pythonmac-SIG mailing list