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.

Author brucedray
Recipients
Date 2004-06-29.21:30:56
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=1063363

I've checked further, and there is a problem in Sun's headers as
supplied with Solaris 7 Server 5/99 edition that the
standard set of
free patches apparently does not address.  For this edition
of Solaris 7,
sys/socket.h does not have either AF_INET6 or INET_ADDRSTRLEN
defined (seen on multiple systems).  socketmodule.c will compile
correctly with SunWorkshopPro 5.0 compilers and passes test
if the
following lines are added prior to the first function in
socketmodule.c:

#ifndef AF_INET6            /* not present in some Solaris 7
versions */
#define AF_INET6 26       /* use the Solaris 8 sys/socket.h
definition */
#endif

#ifndef INET_ADDRSTRLEN     /* not present in some Solaris 7
versions */
#define INET_ADDRSTRLEN 16   /* use the definition given for
SGI above */
#endif


History
Date User Action Args
2007-08-23 14:22:35adminlinkissue972724 messages
2007-08-23 14:22:35admincreate