Better orror message for config.guess downloading
I recently tried to compile Ruby on a new machine and got the error below:
Trying again today, it suddenly worked, but I think it would be great if there were a better error message. "getaddrinfo: Name or service not known (SocketError)" doesn't even say what it tried to download. Knowing what it tried to download could easily help to try download it by hand, see if the system is actually connected to the outside, and so on.
initialize': getaddrinfo: Name or service not known (SocketError) from /usr/share/ruby/net/http.rb:878:in open'
block in connect' from /usr/share/ruby/timeout.rb:52:in timeout'
connect' from /usr/share/ruby/net/http.rb:862:in do_start'
start' from /usr/share/ruby/open-uri.rb:313:in open_http'
buffer_open' from /usr/share/ruby/open-uri.rb:210:in block in open_loop'
catch' from /usr/share/ruby/open-uri.rb:208:in open_loop'
open_uri' from /usr/share/ruby/open-uri.rb:688:in open'
read' from /home/duerst/ruby/tool/config_files.rb:5:in download'
block in <main>' from get-config_files:3:in each'
from get-config_files:3:in `'
checking build system type... /bin/sh: tool/config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100