[Pythonmac-SIG] python23 under leopard (intel mac)

Yves Serrano ys at taywa.ch
Fri Dec 7 02:12:58 CET 2007


Hi

I can't get python2.3.6 to work in leopard on an intel mac.

I tried it first with macports afterwards I tried to compile it  
manually.
When I use "./configure --disable-tk --disable-toolbox-glue --disable-  
framework"
and add the line "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" to  
pyconfig.h, I could start python23 without errors, but I doesn't work  
for everything.

Here is the same error I get, when I try to use zope2.8.

Python 2.3.6 (#12, Dec 6 2007, 23:19:03) [GCC 4.0.1 (Apple Inc. build  
5465)] on darwin Type "help", "copyright", "credits" or "license" for  
more information.
 >>> import asyncore
Traceback (most recent call last): File "<stdin>", line 1, in
File "/tmp/py23/lib/python2.3/asyncore.py", line 56,
in from errno import EALREADY, EINPROGRESS, EWOULDBLOCK, ECONNRESET, \
ImportError: cannot import name ESHUTDOWN

I also tried the options under http://blogs.nuxeo.com/sections/blogs/florent_guillaume/2005_05_21_compiling_python_2_3_5 
     (tips for tiger)

Any Ideas? Could it be, that this has todo something with posix  
changes in leopard?
For some projects, I can't switch to python24 or python25 at the  
moment and need to use python23.

regards Yves


More information about the Pythonmac-SIG mailing list