: Ruby compile breaks on the "socket" routine
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1103
======================================================================
Reported By: znmeb Assigned To: buildroot ====================================================================== Project: buildroot Issue ID: 1103 Category: Architecture Specific Reproducibility: always Severity: minor Priority: normal Status: assigned ====================================================================== Date Submitted: 11-25-2006 22:08 PST Last Modified: 09-24-2007 02:06 PDT
======================================================================
Summary: Ruby compile breaks on the "socket" routine
Description:
When compiling on an IPV6 aware system, Ruby's configure step enables use of IPV6 in compiling "socket.c". However, on the Buildroot system, this compile fails:
make[2]: Leaving directory `/data1/GenericBuildroot/buildroot/build_i386/ruby-1.8.5/ext/sdbm' compiling socket
Fatal: --enable-ipv6 is specified, and your OS seems to support IPv6 feature.
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.
compiling stringio
make[2]: Entering directory `/data1/GenericBuildroot/buildroot/build_i386/ruby-1.8.5/ext/stringio'
Adding the line
--disable-ipv6 \
in the configure step of buildroot/package/ruby/ruby.mk fixes this.
======================================================================
----------------------------------------------------------------------
bernhardf - 09-24-07 02:06
----------------------------------------------------------------------
Does this work fine with uClibc-0.9.29 (the current release) and a current ruby?
Issue History
Date Modified Username Field Change
======================================================================
11-25-06 22:08 znmeb New Issue 11-25-06 22:08 znmeb Status new => assigned 11-25-06 22:08 znmeb Assigned To => uClibc 11-25-06 22:08 znmeb Issue Monitored: znmeb 02-12-07 05:34 vapier Assigned To uClibc => buildroot 09-24-07 02:06 bernhardf Note Added: 0002785
======================================================================