[Python-bugs-list] [Bug #111319] Autoconfig breakdown with gnu libc-2.1.3
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 7 Aug 2000 16:29:03 -0700
Bug #111319, was updated on 2000-Aug-07 16:29
Here is a current snapshot of the bug.
Project: Python
Category: Core
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Summary: Autoconfig breakdown with gnu libc-2.1.3
Details:
Pythons config.h (which is included via Python.h)
defines this on redhat-6.2:
/* Define to `int' if <sys/types.h> doesn't define. */
#define socklen_t int
The trouble is that gnu libc-2.1.3 does not define
socklen_t in <sys/types.h>. It defines it in
<bits/socket.h>:
/* Type for length arguments in socket calls. */
typedef unsigned int socklen_t;
In this case, pythons definition causes a compilation
failure which can be demonstrated by the following simple
program:
#include <Python.h>
#include <rpc/rpc.h>
int main() { return 0; }
My guess is that the autoconfig macros need to be updated
to search <bits/socket.h> as well.
Mike Romberg (romberg@fsl.noaa.gov)
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=111319&group_id=5470