Skip to content

Instantly share code, notes, and snippets.

@helloluis
Created October 27, 2011 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helloluis/1319873 to your computer and use it in GitHub Desktop.
Save helloluis/1319873 to your computer and use it in GitHub Desktop.
gem install ruby-debug19 -- -with-ruby-include=/Users/Luis/.rvm/src/ruby-1.
ruby-1.8.7-p302/ ruby-1.9.2-head/ ruby-1.9.2-p0/ ruby-1.9.2-p290/
luis-imac:main Luis$ gem install ruby-debug19 -- -with-ruby-include=/Users/Luis/.rvm/src/ruby-1.9.2-head
/Users/Luis/.rvm/rubies/ruby-1.9.2-head/bin/gem:4: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug19:
ERROR: Failed to build gem native extension.
/Users/Luis/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb -with-ruby-include=/Users/Luis/.rvm/src/ruby-1.9.2-head
checking for vm_core.h... no
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
--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=/Users/Luis/.rvm/rubies/ruby-1.9.2-head/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
/Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:268:in `block (2 levels) in read': Looking for http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p312.tar.gz and all I got was a 404! (URI::NotFoundError)
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:1194:in `block in transport_request'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:2342:in `reading_body'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:1193:in `transport_request'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:1177:in `request'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:1170:in `block in request'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:627:in `start'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/http.rb:1168:in `request'
from /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:239:in `block in read'
from /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:286:in `connect'
from /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:234:in `read'
from /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/contrib/uri_ext.rb:128:in `download'
from /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:55:in `block in create_makefile_with_core'
from /Users/Luis/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/tempfile.rb:320:in `open'
from /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core'
from extconf.rb:19:in `<main>'
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p312.tar.gz
Gem files will remain installed in /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/linecache19-0.5.12 for inspection.
Results logged to /Users/Luis/.rvm/gems/ruby-1.9.2-p290@infinitely/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
@gmhawash
Copy link

Were you able to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment