wayneeseguin/rvm — Issue #776: gem install linecache19, cannot find vm_core.h
Author: jinleileiking
Created: 2012-02-23 06:29:13+00:00
State: open

```

Installing linecache19 (0.5.12) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
checking for vm_core.h... no
/home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
--with-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=/home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/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
/home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:762:in `initialize': Connection timed out - connect(2) (Errno::ETIMEDOUT)
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:762:in `open'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:762:in `block in connect'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/timeout.rb:54:in `timeout'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/timeout.rb:99:in `timeout'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:762:in `connect'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:755:in `do_start'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:744:in `start'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/net/http.rb:1284:in `request'
from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:239:in `block in read'
from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:286:in `connect'
from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:234:in `read'
from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:128:in `download'
from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:55:in `block in create_makefile_with_core'
from /home/jinleileiking/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/tempfile.rb:320:in `open'
from /home/jinleileiking/.rvm/gems/ruby-1.9.3-p125/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
from extconf.rb:19:in `

'
```