[Python-bugs-list] [Bug #113328] Python 1.6b1 build failure on Solaris (with patch)

noreply@sourceforge.net noreply@sourceforge.net
Fri, 1 Sep 2000 07:30:22 -0700


Bug #113328, was updated on 2000-Sep-01 04:18
Here is a current snapshot of the bug.

Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: Python 1.6b1 build failure on Solaris (with patch)

Details: Python 1.6b1 fails to build on Solaris due to Python's
config.h #define'ing socklen_t to be int.  socklen_t is a symbol many platforms' standard include files have a typedef for.

On Solaris, this results in the true typedef for socklen_t in sys/socket.h (one of the following):

typedef size_t          socklen_t;
typedef uint32_t        socklen_t;

being transformed into gibberish that will not compile.

Removing the offending socklen_t #define from config.h allows 1.6b1 to build on Solaris.

See also bugs 111319 and 113145.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=113328&group_id=5470