ruby - extconf.rb failure installing linecached19 -
[user@host ~]$ sudo gem install linecache19-0.5.12.gem building native extensions. take while... error: error installing linecache19-0.5.12.gem: error: failed build gem native extension. /usr/bin/ruby extconf.rb checking vm_core.h... no checking vm_core.h... no *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. may need configuration options. provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --with-ruby-dir --without-ruby-dir --with-ruby-include --without-ruby-include=${ruby-dir}/include --with-ruby-lib --without-ruby-lib=${ruby-dir}/lib /usr/lib64/ruby/1.9.1/net/http.rb:644:in `initialize': connection timed out - connect(2) (errno::etimedout) /usr/lib64/ruby/1.9.1/net/http.rb:644:in `open' /usr/lib64/ruby/1.9.1/net/http.rb:644:in `block in connect' /usr/lib64/ruby/1.9.1/timeout.rb:44:in `timeout' /usr/lib64/ruby/1.9.1/timeout.rb:89:in `timeout' /usr/lib64/ruby/1.9.1/net/http.rb:644:in `connect' /usr/lib64/ruby/1.9.1/net/http.rb:637:in `do_start' /usr/lib64/ruby/1.9.1/net/http.rb:626:in `start' /usr/lib64/ruby/1.9.1/net/http.rb:1168:in `request' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:239:in `block in read' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:286:in `connect' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:234:in `read' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:128:in `download' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:55:in `block in create_makefile_with_core' /usr/lib64/ruby/1.9.1/tempfile.rb:320:in `open' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core' extconf.rb:19:in `<main>' requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz gem files remain installed in /usr/lib64/ruby/gems/1.9.1/gems/linecache19-0.5.12 inspection. results logged /usr/lib64/ruby/gems/1.9.1/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
how trace error? nothing in gem_make.out particularly useful far can tell:
/usr/bin/ruby extconf.rb checking vm_core.h... no checking vm_core.h... no *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers. check mkmf.log file more details. may need configuration options. provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/ruby --with-ruby-dir --without-ruby-dir --with-ruby-include --without-ruby-include=${ruby-dir}/include --with-ruby-lib --without-ruby-lib=${ruby-dir}/lib /usr/lib64/ruby/1.9.1/net/http.rb:644:in `initialize': connection timed out - connect(2) (errno::etimedout) /usr/lib64/ruby/1.9.1/net/http.rb:644:in `open' /usr/lib64/ruby/1.9.1/net/http.rb:644:in `block in connect' /usr/lib64/ruby/1.9.1/timeout.rb:44:in `timeout' /usr/lib64/ruby/1.9.1/timeout.rb:89:in `timeout' /usr/lib64/ruby/1.9.1/net/http.rb:644:in `connect' /usr/lib64/ruby/1.9.1/net/http.rb:637:in `do_start' /usr/lib64/ruby/1.9.1/net/http.rb:626:in `start' /usr/lib64/ruby/1.9.1/net/http.rb:1168:in `request' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:239:in `block in read' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:286:in `connect' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:234:in `read' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:128:in `download' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:55:in `block in create_makefile_with_core' /usr/lib64/ruby/1.9.1/tempfile.rb:320:in `open' /usr/lib64/ruby/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core' extconf.rb:19:in `<main>' requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p290.tar.gz
my deployment requires ruby 1.9.2p290, upping versions isn't option sadly. how additional libraries/headers error seems asking for?
your deployment requires 1.9.2 , backtrace says using 1.9.1. maybe switching correct ruby version works.
also, if applications includes ruby-debug19
(which requires linecached19
), try switch debugger
.
Comments
Post a Comment