[Python-bugs-list] [Bug #113773] Python 2.0b1 selectmodule compile error under Redhat 5.2
Wed, 6 Sep 2000 18:26:03 -0700
Bug #113773, was updated on 2000-Sep-06 18:26
Here is a current snapshot of the bug.
Bug Group: Platform-specific
Summary: Python 2.0b1 selectmodule compile error under Redhat 5.2
Details: Environment: Redhat 5.2 running the gcc compiler that comes with the
distribution (gcc 188.8.131.52).
'make' failed when compiling selectmodule.c ('./configure' ran ok)because
the following constants were undefined:
POLLRDNORM, POLLRDBAND, POLLWRBAND
The /usr/include/sys/poll.h file does not contain these constants.
Under Redhat 6.2 the constants are defined in the /usr/include/bits/poll.h
file (which is not present in the Redhat 5.2 distribution).
I used the Redhat 6.2 poll.h file and the selectmodule compiled (under
Redhat 5.2) but got the following error when running
'make test' (it looks like it might be related to the compile problem):
test test_poll crashed -- select.error: (9, 'Bad file descriptor')
1 test failed: test_poll
For detailed info, follow this link: