[Twisted-Python] strange exception on Python 2.6 + Snow Leopard

Phil Christensen phil at bubblehouse.org
Tue Sep 29 14:37:22 MDT 2009


On Sep 29, 2009, at 3:08 PM, Steve Steiner (listsin) wrote:
>> Hmm, sorry to question, but are you sure?
>
> You're right, different error.  Sorry for not replying earlier -- just
> found this when Googling for 10.6 build instructions as I'm having a
> devil of a time building from SVN on 10.6 with Python 2.6.1.

No worries, I'm glad you bumped this thread. I'm still seeing the  
traceback on startup (exceptions.AttributeError: 'module' object has  
no attribute 'ssl_test'), although they haven't affected my use of  
Twisted. Just annoying to see, that's all.

What kind of build problems are you having? I just updated/installed  
SVN HEAD without much of a problem using `python setup.py develop`.

I do see the following issues during compilation, which cause the  
epoll reactor to fail. I don't use the epoll reactor, so I haven't  
bothered trying to fix it:

gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv - 
Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc - 
arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/ 
Versions/2.6/include/python2.6 -c conftest.c -o conftest.o
gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv - 
Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc - 
arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/ 
Versions/2.6/include/python2.6 -c conftest.c -o conftest.o
conftest.c:1:23: error: sys/epoll.h: No such file or directory
conftest.c:1:23: error: sys/epoll.h: No such file or directory
conftest.c:1:23: error: sys/epoll.h: No such file or directory
lipo: can't open input file: /var/tmp//ccGt0yAW.out (No such file or  
directory)



-phil




More information about the Twisted-Python mailing list