Actions
Bug #15097
openGem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
Description
Compiled and installed Ruby 2.5.1 on Cygwin, and now gem install fails with:
ERROR: While executing gem ... (NameError)
undefined local variable or method `get_dns_server_list' for Win32::Resolv:Module
While building Ruby I got the following warning:
win32/resolv:
Could not be configured. It will not be installed.
Check ext/win32/resolv/mkmf.log for more details.
The error in mkmf.log is:
/ruby-2.5.1/ext/win32/resolv/conftest.c:14: undefined reference to `GetNetworkParams'
collect2: error: ld returned 1 exit status
The mkmf.log is also attached.
Could not figure out how to fix this problem.
Is 2.5.1 not compatible with Cygwin?
Files
Actions
Like0
Like0Like0Like0Like0Like0