[Python-bugs-list] [ python-Bugs-454493 ] building _socket failed

noreply@sourceforge.net noreply@sourceforge.net
Thu, 23 Aug 2001 00:44:17 -0700


Bugs item #454493, was opened at 2001-08-23 00:44
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=454493&group_id=5470

Category: Build
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Roeland Rengelink (rengelink)
Assigned to: Nobody/Anonymous (nobody)
Summary: building _socket failed

Initial Comment:
I experienced a build failure of Python2.2a2 on Suse
6.4 Linux 2.2.14

The following error was reported:

gcc -DINET6 -g -O3 -Wall -Wstrict-prototypes -fPIC -I.
-I~/Python-2.2a2/./Include -I/usr/local/include
-IInclude/ -c ~/Python-2.2a2/Modules/socketmodule.c -o
build/temp.linux-i686-2.2/socketmodule.o
~/Python-2.2a2/Modules/socketmodule.c: In function
`makesockaddr':
~/Python-2.2a2/Modules/socketmodule.c:715: structure
has no member named `sin6_scope_id'
~/Python-2.2a2/Modules/socketmodule.c: In function
`getsockaddrarg':
~/Python-2.2a2/Modules/socketmodule.c:828: structure
has no member named `sin6_scope_id'
~/Python-2.2a2/Modules/socketmodule.c: In function
`PySocket_getnameinfo':
~/Python-2.2a2/Modules/socketmodule.c:2469: structure
has no member named `sin6_scope_id'
WARNING: building of extension "_socket" failed:
command 'gcc' failed with exit status 1

I didn't see this in 2.2a1. Presumably, there is a
problem with IPv6 support on my machine. Shouldn't
configure have cought this?

Probably also a bug is that test_socket ran
succesfully. Since _socket wasn't build, the old
version in $PREFIX/lib/Python2.2/, which I got from
2.2a1, was used in the test.

Let me know if you need additional info.

Roeland

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

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