Subject: ruby socket extension and ipv6
To: None <email@example.com>
From: rudolf <firstname.lastname@example.org>
Date: 03/01/2006 00:25:49
in order to get the socket extension for ruby from pkgsrc on Slackware
Linux I have to change the pkgsrc/lang/ruby18-base/Makefile:
--- Makefile.orig 2006-02-28 23:55:53.000000000 +0100
+++ Makefile 2006-02-28 23:56:12.000000000 +0100
@@ -23,6 +23,7 @@
CONFIGURE_ARGS+= --enable-shared \
+ --enable-wide-getaddrinfo \
Otherwise I get the following instead of the socket extension:
Fatal: --enable-ipv6 is specified, and your OS seems to support IPv6
But your getaddrinfo() and getnameinfo() are appeared to be broken. Sorry,
you cannot compile IPv6 socket classes with broken these functions.
You can try --enable-wide-getaddrinfo.
There is no need to do this on NetBSD and I don't need to do this when
compiling ruby on Slackware directly (without pkgsrc) either. Could this
point to some problems with the tools?