Error installing ruby-debug-base19 et al

what do i need to get this gem to install? i can’t find the mkmf.log for
this?

Building native extensions. This could take a while…
ERROR: Error installing ruby-debug-base19:
ERROR: Failed to build gem native extension.

/usr/local/bin/ruby 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/local/bin/ruby
/usr/local/lib/ruby/1.9.1/net/https.rb:102:in require': no such file to load -- openssl (LoadError) from /usr/local/lib/ruby/1.9.1/net/https.rb:102:in<top
(required)>’
from
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.rb:11:in
require' from /usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.rb:11:in<top (required)>’
from
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:6:in
require' from /usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.rb:6:in<top (required)>’
from extconf.rb:2:in require' from extconf.rb:2:in

Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out

On 10-08-07 02:24 PM, Rajinder Y. wrote:

what do i need to get this gem to install? i can’t find the mkmf.log
for this?

Building native extensions. This could take a while…
ERROR: Error installing ruby-debug-base19:
ERROR: Failed to build gem native extension.
I realized I need to install linecache19, but I am getting the same
failure, is this a problem in general with ruby 1.9.1 gems?

On 7 August 2010 19:24, Rajinder Y. [email protected] wrote:

necessary libraries and/or headers. Check the mkmf.log file for more
–without-make-prog
/usr/local/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.rb:11:in

Gem files will remain installed in
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11 for inspection.
Results logged to
/usr/local/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out

The error line is this one:

/usr/local/lib/ruby/1.9.1/net/https.rb:102:in `require’: no such file
to load – openssl (LoadError)

which suggests that your Ruby 1.9.1 was compiled without OpenSSL
support.

If you compiled your Ruby yourself, you can compile the OpenSSL
support by going into ext/openssl and running:

$ ruby extconf.rb
$ make
$ make install

Otherwise, let us know your OS (and package manager if you used one),
or see if Google has an answer.

Chris

On 7 August 2010 21:09, Rajinder Y. [email protected] wrote:

   ERROR: Failed to build gem native extension.
   --with-opt-include
   from /usr/local/lib/ruby/1.9.1/net/https.rb:102:in `<top

Gem files will remain installed in

or see if Google has an answer.

thanks that fixed my problem! I am going to assume I don’t need to rebuild
ruby again for openssl support?

No, I don’t think you need to recompile the whole thing; you just
needed to get that extra library in, and it sounds like it’s working
now!

Chris

On 10-08-07 04:15 PM, Chris M. wrote:

Building native extensions. This could take a while…
–with-opt-dir
/usr/local/lib/ruby/1.9.1/net/https.rb:102:in require': no such file to<top (required)>’

/usr/local/lib/ruby/1.9.1/net/https.rb:102:in `require’: no such file

Chris

Great, thanks again!

Rajinder

On 10-08-07 03:44 PM, Chris M. wrote:

*** extconf.rb failed ***
–without-opt-lib=${opt-dir}/lib
require' from extconf.rb:2:in
to load – openssl (LoadError)
Otherwise, let us know your OS (and package manager if you used one),
or see if Google has an answer.

Chris

Chris,

thanks that fixed my problem! I am going to assume I don’t need to
rebuild ruby again for openssl support?

Kind Regards,
Rajinder

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs