Tuesday, August 10, 2010

Installing ruby-debug (2) and missing net/https

I am making a second attempt to install ruby-debug, after installing ruby-dev.
Interestingly, it installed successfully for ruby1.8 but failed for ruby1.9.1

This one is a success:

$ sudo gem1.8 install ruby-debug
Building native extensions. This could take a while...
Building native extensions. This could take a while...
Successfully installed linecache-0.43
Successfully installed ruby-debug-base-0.10.3
Successfully installed ruby-debug-0.10.3
3 gems installed
Installing ri documentation for linecache-0.43...
Installing ri documentation for ruby-debug-base-0.10.3...
Installing ri documentation for ruby-debug-0.10.3...
Installing RDoc documentation for linecache-0.43...
Installing RDoc documentation for ruby-debug-base-0.10.3...
Installing RDoc documentation for ruby-debug-0.10.3...


But this one failed.

$ sudo gem1.9.1 install ruby-debug19
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug19:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
*** 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=/usr/bin/ruby1.9.1
/var/lib/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.rb:11:in `require': no such file to load -- net/https (LoadError)
from /var/lib/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.rb:11:in `'
from /var/lib/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:6:in `require'
from /var/lib/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:6:in `'
from extconf.rb:2:in `require'
from extconf.rb:2:in `
'

No comments:

Post a Comment