This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python 2.3.3: socketmodule doesn't build on UnixWare 7.1.3
Type: Stage:
Components: Build Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ler, loewis
Priority: normal Keywords:

Created on 2004-04-05 11:28 by ler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sco.diff loewis, 2004-05-07 19:29
Messages (5)
msg20428 - (view) Author: Larry Rosenman (ler) Date: 2004-04-05 11:28
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. 

msg20429 - (view) Author: Larry Rosenman (ler) Date: 2004-04-05 11:31
Logged In: YES 
user_id=36452

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

msg20430 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-05-07 19:15
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
msg20431 - (view) Author: Larry Rosenman (ler) Date: 2004-05-07 19:20
Logged In: YES 
user_id=36452

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

msg20432 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-05-07 19:29
Logged In: YES 
user_id=21627

Python 2.3.4 will be released shortly. I have attached the
configure patch to this report.
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40122
2004-04-05 11:28:11lercreate