[ python-Bugs-929689 ] Python 2.3.3: socketmodule doesn't build on UnixWare 7.1.3

SourceForge.net noreply at sourceforge.net
Fri May 7 15:20:49 EDT 2004


Bugs item #929689, was opened at 2004-04-05 06:28
Message generated for change (Comment added) made by ler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=929689&group_id=5470

Category: Build
Group: Python 2.3
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Larry Rosenman (ler)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.3.3: socketmodule doesn't build on UnixWare 7.1.3

Initial Comment:
We seem to be running afoul of headers and redefinitions/etc 
for the socketmodule.

The virgin source tarball manages to not get <sys/types.h> 
included before <netinet/tcp.h>.

If I force that issue, we get inconsistent definitions of h_errno 
for the threaded case. 

I can supply an account for anyone that wants to look. 

I've looked, and can't seem to fix the errors with h_errno 
easily. 



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

>Comment By: Larry Rosenman (ler)
Date: 2004-05-07 14:20

Message:
Logged In: YES 
user_id=36452

I've reported this to my SCO contacts.  Thanks.  Can I get a 
revised tarball from somewhere? 



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

Comment By: Martin v. Löwis (loewis)
Date: 2004-05-07 14:15

Message:
Logged In: YES 
user_id=21627

The problem is not that sys/types.h is not included. The
problem is that sys/types.h is included, but fails to define
u_long. This, in itself, is not a bug, since when requesting
XOPEN API, it may be reasonable not to define u_long.

However, the real bug is that netinet/tcp.h, which should
not use u_long if it is not defined.

Somebody should report this bug to SCO.

I've added a work-around in

configure 1.416.4.14
configure.in 1.427.4.13
NEWS 1.831.4.107
configure 1.444
configure.in 1.455


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

Comment By: Larry Rosenman (ler)
Date: 2004-04-05 06:31

Message:
Logged In: YES 
user_id=36452

FWIW, the 2.2.2 version DOES compile on the same platform. 



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

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



More information about the Python-bugs-list mailing list