March 04, 2005
Building Ruby 1.8.2 on Mac OS X
Just a quick note. I've just finished building Ruby 1.8.2 on Mac OS X and I came across one problem. When I tried to use the Net::HTTP module it complained about not being able to find "socket". I looked at the output from my make and saw this.
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.
Well, I tried ./configure --enable-wide-getaddrinfo and it didn't work. However, using ./configure --disable-ipv6 did and I don't need ipv6 at the moment anyway. Net:HTTP now loads fine and works.
Comments
Post a comment