Can't install RMagick 2.12.2

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

[[email protected] 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

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.ziphttp://rubyforge.org/frs/download.php/64917/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

On Tue, Feb 23, 2010 at 5:44 PM, shyam mohan
[email protected]wrote:

    --without-make-prog

[email protected][email protected]
.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Thanks:
Rajeev sharma

It seems like you need ruby-dev installed.

On Feb 23, 2010, at 7:14 AM, shyam mohan wrote:

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

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

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs