Project

General

Profile

Actions

Bug #1834

closed

1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5

Added by luislavena (Luis Lavena) almost 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
1.9.1-p129 and 1.8.6-p368
Backport:
[ruby-core:24601]

Description

=begin
Hello,

I'm running the One-Click Ruby Installer compile scripts on 32bits Windows 7. By default, it has IPv6 installed and enabled.

After configured Ruby with the following parameters:

--enable-shared --disable-install-doc

I've ended with the following warnings when compiling:

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.

==

Please find "mkmf.log" file attached with the extconf options generated during this compilation.

After follow the suggestion of adding --enable-wide-getaddrinfo, I got a different error message, which I have attached in the file "with-wide-setting.log". Also attached mkmf.log of this run.

The revision used was:

 URL: http://svn.ruby-lang.org/repos/ruby/trunk
 Repository Root: http://svn.ruby-lang.org/repos/ruby
 Repository UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e
 Revision: 24312
 Node Kind: directory
 Schedule: normal
 Last Changed Author: naruse
 Last Changed Rev: 24311
 Last Changed Date: 2009-07-28 20:11:29 -0300 (mar, 28 jul 2009)
 

Thank you.
=end


Files

with-wide-setting.log (6.84 KB) with-wide-setting.log luislavena (Luis Lavena), 07/30/2009 10:29 AM
mkmf-enable-wide-getaddrinfo.log (35.9 KB) mkmf-enable-wide-getaddrinfo.log luislavena (Luis Lavena), 07/30/2009 10:29 AM
mkmf.log (13.9 KB) mkmf.log luislavena (Luis Lavena), 07/30/2009 10:29 AM
Actions

Also available in: Atom PDF