Can't install RMagick 2.12.2

Hi all When i use this rake gems:install i face this problem

[root@localhost trunk]# rake gems:install

(in /root/shyam/trunk)

gem install rmagick --version “>= 2.9.1”

ERROR: Error installing rmagick:

    ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb

checking for Ruby version >= 1.8.5… yes

checking for gcc… yes checking for Magick-config… no

Can’t install RMagick 2.12.2. Can’t find Magick-config in /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

*** extconf.rb failed ***

Could not create Makefile due to some reason, probably lack of

necessary libraries and/or headers. Check the mkmf.log file for more

details. You may need configuration options.

Provided configuration options:

    --with-opt-dir

    --without-opt-dir

    --with-opt-include

    --without-opt-include=${opt-dir}/include

    --with-opt-lib

    --without-opt-lib=${opt-dir}/lib

    --with-make-prog

    --without-make-prog

    --srcdir=.

    --curdir

    --ruby=/usr/local/bin/ruby

Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2 for inspection.

Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out

Building native extensions. This could take a while…

Loaded suite /usr/local/bin/rake

Started

Finished in 0.000174 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

Please Tell me what to do…?

Regards,
Shyam
+91-971-618-9650
[http://sites.google.com/site/shyammohankanojia/cv](http://sites.google.com/site/shyammohankanojia/cv)

Are you sure that you’ve already installed ImageMagick including the development headers?

-Rob

Rob Biedenharn http://agileconsultingllc.com

Rob@AgileConsultingLLC.com

It seems like you need ruby-dev installed.

r magick is available with imagemagick with pretty much given instructions go here : http://rubyforge.org/frs/?group_id=12&release_id=42049

Download this : RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip or yours choice…it is depends on//

then GoTo :

http://rmagick.rubyforge.org/install-faq.html

search

Index to Questions on yours Os

it works that’s it