From: casper.cg@... Date: 2018-09-10T03:52:02+00:00 Subject: [ruby-core:88932] [Ruby trunk Bug#15097] Gem install fails on Ruby 2.5.1 (get_dns_server_list undefined) Issue #15097 has been reported by caspercg (Casper Gripenberg). ---------------------------------------- Bug #15097: Gem install fails on Ruby 2.5.1 (get_dns_server_list undefined) https://bugs.ruby-lang.org/issues/15097 * Author: caspercg (Casper Gripenberg) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.1p57 (2018-03-29 revision 63029) [i386-cygwin] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- Compiled and installed Ruby 2.5.1 on Cygwin, and now gem install fails with: ~~~ ruby 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: ~~~ ruby 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 /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-------------------------------- mkmf.log (3.96 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: