W
wroxdb
Hello,
Sorry I'm totally new in ruby and gems.
I installed a module via gems failed this day. The error shows:
# gem install cassandra
Building native extensions. This could take a while...
ERROR: Error installing cassandra:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:21:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:21
Gem files will remain installed in
/var/lib/gems/1.8/gems/thrift-0.2.0.4 for inspection.
Results logged to /var/lib/gems/1.8/gems/thrift-0.2.0.4/ext/gem_make.out
I'm running ruby-1.8 in ubuntu 9.10.
How to fix it? thanks.
Sorry I'm totally new in ruby and gems.
I installed a module via gems failed this day. The error shows:
# gem install cassandra
Building native extensions. This could take a while...
ERROR: Error installing cassandra:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:21:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:21
Gem files will remain installed in
/var/lib/gems/1.8/gems/thrift-0.2.0.4 for inspection.
Results logged to /var/lib/gems/1.8/gems/thrift-0.2.0.4/ext/gem_make.out
I'm running ruby-1.8 in ubuntu 9.10.
How to fix it? thanks.