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

skip at pobox.com skip at pobox.com
Mon Dec 1 03:08:48 CET 2008


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/


More information about the Pythonmac-SIG mailing list