[Patches] [ python-Patches-885905 ] _socket fails to build with
latest SGI compiler
SourceForge.net
noreply at sourceforge.net
Tue Jan 27 19:35:46 EST 2004
Patches item #885905, was opened at 2004-01-27 16:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=885905&group_id=5470
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Couch (gregcouch)
Assigned to: Nobody/Anonymous (nobody)
Summary: _socket fails to build with latest SGI compiler
Initial Comment:
The Python 2.3 mechanism of defining _POSIX_C_SOURCE
et. al. prevents configure from finding everything. It
kind of worked for the SGI 7.3 compilers, but always
fails for the 7.4 compilers. With the patch the gross
ifdef in socketmodule.c that defines _SGIAPI is not
used and likewise for various other ifdef __sgi's.
Since they are not used anymore, I didn't remove them
in this patch. Attached is a patch to configure.in
that eliminates the various _SOURCE defines on IRIX and
works with both the 7.3.1.2m and 7.4.1m compilers.
The same patch can be applied to configure for those
who don't have autoconf working on their system.
- Greg
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=885905&group_id=5470
More information about the Patches
mailing list