Installation Errors

10 views
Skip to first unread message

ClickerMonkey

unread,
Jul 23, 2008, 9:22:56 AM7/23/08
to god.rb
Heres some errors we were getting after we did 'sudo apt-get install
rubygems gem' on our ubuntu hard system.

Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby extconf.rb install god
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1

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

And ofcourse gem_make.out only says the above error, useless!

I don't know a single thing about gem or ruby, we just want god
because monit isn't working out for us!

Jonathan Stott

unread,
Jul 23, 2008, 9:59:04 AM7/23/08
to god...@googlegroups.com

You need to install the ruby development libraries too (this is needed
for any gem with C extensions)

sudo apt-get install ruby1.8-dev

You maybe also need the hardy development deb

sudo apt-get install build-essential

Regards,
Jon

Reply all
Reply to author
Forward
0 new messages