From: neomjp neomjp Date: 2009-07-15T19:50:18+09:00 Subject: [ruby-core:24346] [Bug #1776] make fails when compiling socket Issue #1776 has been updated by neomjp neomjp. Worked for me here with cygwin-1.7.0-51 on XP, gcc4-core-4.3.2-2, ruby-1.8.7-p72-2, and compiling ruby-1.9.2-r24017 . Looks like you have ruby 1.9.x installed in /cygdrive/c/ruby or c:\ruby, and that is the ruby that comes first in PATH. I suspect that it is a non-cygwin native win32 ruby, which failed to handle a cygwin-style path. from ./ext/extmk.rb:154:in `load' conf = ["#{$srcdir}/makefile.rb", "#{$srcdir}/extconf.rb"].find {|f| File.exist?(f)} ...... if conf load $0 = conf else ...... I suspect $srcdir had some cygwin-style path in it. By the way, --enable-shared is the default in cygwin and is probably unnecessary. configure.in says: case "$target_os" in when(cygwin*|mingw*) ..... case "$target_os" in when(mingw*) ...... esac : ${enable_shared=yes} ;; when(aix*) ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1776 ---------------------------------------- http://redmine.ruby-lang.org