Bugs: Browse | Submit New | Admin

[#27494] needlessly requires openssl

Date:
2009-11-28 00:50
Priority:
3
Submitted By:
Roger Pack (rogerdpack)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
needlessly requires openssl

Detailed description
I get this sometimes

[27:1748][rdp@ilab1:~/dev/downloads/jruby]$ gem install ruby-debug19
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug19:
        ERROR: Failed to build gem native extension.

/home/rdp/installs/ruby-1.9.1-p243_gc/bin/ruby extconf.rb install ruby-debug19
*** 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=/home/rdp/installs/ruby-1.9.1-p243_gc/bin/ruby
/home/rdp/installs/ruby-1.9.1-p243_gc/lib/ruby/1.9.1/net/https.rb:102:in `require': no such file to load -- openssl
(LoadError)
        from /home/rdp/installs/ruby-1.9.1-p243_gc/lib/ruby/1.9.1/net/https.rb:102:in `<top (required)>'
        from /home/rdp/installs/ruby-1.9.1-p243_gc/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.r
b:11:in `require'
        from /home/rdp/installs/ruby-1.9.1-p243_gc/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/contrib/uri_ext.r
b:11:in `<top (required)>'
        from /home/rdp/installs/ruby-1.9.1-p243_gc/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby_core_source.
rb:6:in `require'
        from /home/rdp/installs/ruby-1.9.1-p243_gc/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 `<main>'



The fix is to to comment out the line requiring net/https [since it's unused anyway].
Much thanks.
-r

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item