Problem install rmagick

F

Fresh Mix

# gem1.8 install rmagick works fine, but:

# gem1.9 install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9 extconf.rb install rmagick
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1:in `<main>'


Gem files will remain installed in
/var/lib/gems/1.9.0/gems/rmagick-2.9.1 for inspection.
Results logged to
/var/lib/gems/1.9.0/gems/rmagick-2.9.1/ext/RMagick/gem_make.out
 
T

Tim Hunter

Fresh said:
# gem1.8 install rmagick works fine, but:

# gem1.9 install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9 extconf.rb install rmagick
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1:in `<main>'


Gem files will remain installed in
/var/lib/gems/1.9.0/gems/rmagick-2.9.1 for inspection.
Results logged to
/var/lib/gems/1.9.0/gems/rmagick-2.9.1/ext/RMagick/gem_make.out

mkmf.rb is part of the standard library in Ruby. Either you don't have
it installed or it's not in Ruby's library path. How did you install
Ruby 1.9?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top