[Python-bugs-list] [ python-Bugs-438050 ] configure doesn't look for poll.h in sys

noreply@sourceforge.net noreply@sourceforge.net
Mon, 02 Jul 2001 15:04:04 -0700


Bugs item #438050, was opened at 2001-07-02 15:04
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438050&group_id=5470

Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: David Dyck (dcd)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure doesn't look for poll.h in sys

Initial Comment:
I was surprised to see python not build out
of the box on this old libc5 system.

seems to be a problem with configure finding
poll.h

If I manually add
  #include <sys/poll.h>
to "Modules/selectmodule.c" 
then make continues

 (Another workaround is to create a dummy
  /usr/include/poll.h 
 that just  #include's <sys/poll.h> )

dd:dcd$ uname -a
Linux dd 2.4.5-ac22 #2 Fri Jun 29 14:39:29 PDT 2001
i686

/lib/libc.so.5 -> libc.so.5.4.44*


make[1]: Entering directory
`/hdb2/jd/usr2/dcd/ftp2/python/Python-2.0.1/Modules'
gcc  -g -O2 -Wall -Wstrict-prototypes -fPIC
-I./../Include -I.. -DHAVE_CONFIG_H 
./selectmodule.c: In function `update_ufd_array':
./selectmodule.c:319: sizeof applied to an incomplete
type
./selectmodule.c:327: arithmetic on pointer to an
incomplete type
./selectmodule.c:327: dereferencing pointer to
incomplete type




configure:1557: checking for poll.h
configure:1567: gcc -E  conftest.c >/dev/null
2>conftest.out
configure:1563: poll.h: No such file or directory
configure: failed program was:
#line 1562 "configure"
#include "confdefs.h"
#include <poll.h>


----


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=438050&group_id=5470