Forum: Ruby Problem install rmagick

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fresh M. (Guest)
on 2009-05-10 12:20
# 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
Tim H. (Guest)
on 2009-05-10 16:55
(Received via mailing list)
Fresh M. wrote:
>
>
> 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?
This topic is locked and can not be replied to.