Opened 16 years ago
Closed 14 years ago
#3804 closed bug (fixed)
getaddrinfo() reported buggy by Python ./configure script
Reported by: | haiqu | Owned by: | scottmc |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description
While trying to configure Python 3.1a2 with the --with-ipv6 option, the script indicated that the implementation of getaddrinfo() was buggy (it tests specifically for a known bug evidently) and ended with a fatal error.
Disabling the option also shows the bug when it is tested, but since this bug only affects ipv6 the fatal error message was not issued in this latter case.
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 14 years ago
This was probably fixed with hrev38748.
for Python 3.1.2, you need to add a check in configure.in for socket in network so that it picks up -lnetwork. Add this just after the AC_CHECK_LIB(socket, socket line:
AC_CHECK_LIB(network, socket, [LIBS="-lnetwork $LIBS"], [], $LIBS)
The configure option in 3.2.1 is --enable-ipv6 instead of --with-ipv6. It's no longer failing with any fatal error. I do not see this error show up, so it's most likely been fixed. Note that ipv6 is still being worked on for Haiku so don't expect that to work yet, but this issue seems to be fixed now.
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
For related discussion see: http://bugs.python.org/issue1282647 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=52195, which seems to indicate that this was fixed with the addition of the newer getaddrinfo.c in hrev38748.
Here's the relevant piece of test script taken from config.in: