On 7 August 2010 21:09, Rajinder Yadav <[email protected]> wrote:
> On 10-08-07 03:44 PM, Chris Mear wrote:
>>
>> On 7 August 2010 19:24, Rajinder Yadav<[email protected]>  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.
>>>
>>> /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 `<main>'
>>>
>>>
>>> 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.
>
> 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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to