[Twisted-Python] Dud bug tracker link on tm.com
From anywhere other than the front page (e.g. the uber-nifty success stories page, http://twistedmatrix.com/services/success), the "Bug Tracker" link points to: http://twistedmatrix.com/http://sourceforge.net/tracker/?func=browse&group_id=49387&atid=456015
-Andrew.
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
Bob Piper wrote:
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?
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
On Fri, Aug 30, 2002 at 12:14:06PM -0400, Itamar Shtull-Trauring wrote:
Bob Piper wrote:
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?
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.
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
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. The conftest looks for sys/poll.h, and I even get a message from setup.py about no cReactor available for the system. It then attempts to build cReactor and fails.
Should have thought of just commenting out cReactor, need more caffeine this morning. thanks, bob.
-- Keith
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
participants (4)
-
Andrew Bennetts
-
Bob Piper
-
Itamar Shtull-Trauring
-
Keith Zaback