[Twisted-Python] Dud bug tracker link on tm.com
![](https://secure.gravatar.com/avatar/1ca253842abbeff732b200e4bdb1b9e4.jpg?s=120&d=mm&r=g)
I tried to do an install of Twisted on OS X (10.1.5 and 10.2), and ran into compile failures for cReactor (missing sys/poll.h). Is there a work around for this? bob. Worlds Apart Productions
![](https://secure.gravatar.com/avatar/433365de0f787faa3ed3e6dd1da5884f.jpg?s=120&d=mm&r=g)
Bob Piper wrote:
Just don't compile cReactor I guess - comment out the applicable bits in setup.py so it doesn't try to compile it. None of the C code in Twisted is necessary in order to use it, they're just there for speed. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting
![](https://secure.gravatar.com/avatar/8a4a8b848bf0bafa5a8564229418f2f9.jpg?s=120&d=mm&r=g)
On Fri, Aug 30, 2002 at 12:14:06PM -0400, Itamar Shtull-Trauring wrote:
Is it actually trying to compile the entire extension module, or are you just seeing the output from the attempt to compile the test program used to detect sys/poll.h? Last time I tested it, if sys/poll.h did not exist it would not build the extension module, but you would see an compiler error during the sys/poll.h detection. I couldn't find anything in distutils to "check for C headers" so if anyone knows of a better way (than what is currently in setup.py) feel free to change it. You shouldn't need to comment out certain bits in setup.py. -- Keith
![](https://secure.gravatar.com/avatar/1ca253842abbeff732b200e4bdb1b9e4.jpg?s=120&d=mm&r=g)
I tried to do an install of Twisted on OS X (10.1.5 and 10.2), and ran into compile failures for cReactor (missing sys/poll.h). Is there a work around for this? bob. Worlds Apart Productions
![](https://secure.gravatar.com/avatar/433365de0f787faa3ed3e6dd1da5884f.jpg?s=120&d=mm&r=g)
Bob Piper wrote:
Just don't compile cReactor I guess - comment out the applicable bits in setup.py so it doesn't try to compile it. None of the C code in Twisted is necessary in order to use it, they're just there for speed. -- Itamar Shtull-Trauring http://itamarst.org/ Available for Python, Twisted, Zope and Java consulting
![](https://secure.gravatar.com/avatar/8a4a8b848bf0bafa5a8564229418f2f9.jpg?s=120&d=mm&r=g)
On Fri, Aug 30, 2002 at 12:14:06PM -0400, Itamar Shtull-Trauring wrote:
Is it actually trying to compile the entire extension module, or are you just seeing the output from the attempt to compile the test program used to detect sys/poll.h? Last time I tested it, if sys/poll.h did not exist it would not build the extension module, but you would see an compiler error during the sys/poll.h detection. I couldn't find anything in distutils to "check for C headers" so if anyone knows of a better way (than what is currently in setup.py) feel free to change it. You shouldn't need to comment out certain bits in setup.py. -- Keith
participants (4)
-
Andrew Bennetts
-
Bob Piper
-
Itamar Shtull-Trauring
-
Keith Zaback