Installation of rmagick --version '>= 2.13.1' on CENTOS

I have successfully installed the following components in my centos
server:

Ruby 1.8.7
Rails 2.3.8
Gem 1.3.7

paperclip --version ‘>= 2.3.3’
will_paginate --version ‘>= 2.3.15’
tlsmail --version ‘>= 0.0.1’

but facing problem at the time of installation of

rmagick --version ‘>= 2.13.1’

When I go for installation by using the " gem install rmagick –
version ‘>= 2.13.1’ " command, I am getting the following error:

ERROR

[root@ip-173-201-26-65 download]# gem install rmagick --version ‘>=
2.13.1’
Building native extensions. This could take a while…
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.13.1. Can’t find Magick-config in /usr/
kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/
local /bin:/sbin:/bin:/usr/sbin:/usr/
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.13.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/
RMagick/gem_make.out

================================================================================

So pls guide us to install the rmagic gem installation in CENTOS.

On 13 Oct, 11:04, CKS [email protected] wrote:

but facing problem at the time of installation of

rmagick --version ‘>= 2.13.1’

Looks like you don’t have imagemagick installed

Fred