trouble installing ruby1.8-dev

Subscribe to trouble installing ruby1.8-dev 2 post(s), 2 voice(s)

 
Avatar mikepepper 1 post(s)

I installed RubyEE using the instructions in the wiki, and all was good:

~$ ruby -v ruby 1.8.6 (2008-08-11 patchlevel 287) [i486-linux] Ruby Enterprise Edition 20090610

when i try to install the nokogiri gem i get:

Building native extensions. This could take a while... ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb install nokogiri
extconf.rb:5:in `require’: no such file to load — mkmf (LoadError)
from extconf.rb:5

Gem files will remain installed in /var/lib/gems/1.8/gems/nokogiri-1.3.3 for inspection.
Results logged to /var/lib/gems/1.8/gems/nokogiri-1.3.3/ext/nokogiri/gem_make.out

I Searched the internets and I found out you have to run:

sudo apt-get install ruby1.8-dev

but when I do, i just get:

~$ sudo apt-get install ruby1.8-dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ruby1.8-dev: Depends: libruby1.8 (= 1.8.6.111-2ubuntu1.3) but 1.8.6.20090610-0bbox1 is to be installed
E: Broken packages

And I’ve hit a bit of a brick wall with it… Has anyone else had this issue?

(Also, it seems the ‘reset password’ link isn’t working, it just tells me the code has expired, even if i click it straight away from the email)

 
Avatar John Leach Administator 83 post(s)

Hi Mike,

you need to install our version of ruby1.8-dev as well then – that is available from our repository too.

John.

Signup or login to contribute