[Python-bugs-list] [ python-Bugs-475951 ] HP-UX: Problem building socket

noreply@sourceforge.net noreply@sourceforge.net
Mon, 29 Oct 2001 04:59:08 -0800


Bugs item #475951, was opened at 2001-10-29 02:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475951&group_id=5470

Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: HP-UX: Problem building socket

Initial Comment:
On HP-UX 11, I get errors compiling Python 2.1.1 from
source.
It crashes when parsing sys/socket.h
Here's the offending code:
   extern sbsize_t sendfile __((int, int, off_t,
bsize_t, 
                               const struct iovec *,
int));
   extern sbsize_t sendpath __((int, char *, off_t,
bsize_t, 
                               const struct iovec *,
int));

When I switch from gcc to cc (native c compiler) the
socket
library compiles, but many other libs don't.
(sidenote: when using cc, cc is noteably faster than
gcc)


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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-29 04:59

Message:
Logged In: YES 
user_id=6380

Please try again with Python 2.2b1 (http://python.org/2.2/).
We've done a lot of work and we've got at least one report
that it now works out of the box on HP-UX 11.  I'd like to
hear if that solves your problems (and if 2.2b1 builds with
either compiler).

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

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