ImageMagick and Rmagic gem

Hi all,

I need a little help. On Ubuntu ImageMagick packages installed. When I try to install rmagick gem I got this:

checking for ImageMagick version >= 6.4.9… no

Can’t install RMagick 2.13.1. You must have ImageMagick 6.4.9 or later.

*** 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.

Completely reinstalled ImageMAgick, recompiled Ruby with all packages (including extconf), still not help.

Please help me. Many thanks,

Zoli

Hej,

how did you install ImageMagick?

Best,

Sebastian

No no no, this should be on rails-talk list, not core.

- Ken

This is not a Rails core issue. Not really a Rails issue at all. You might try rubyonrails-talk, ruby-talk, or the RMagick support forum at http://rubyforge.org/forum/forum.php?forum_id=33

(In before Ryan? :))

Hi Sebastian, thanks for reply.

Installed it from Synaptic. Then now it’s from source.

Do you know how to check the version of it?

checking for ImageMagick version >= 6.4.9… no

Can’t install RMagick 2.13.1. You must have ImageMagick 6.4.9 or later.

What are these 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=/home/vadkant/.rvm/rubies/ruby-1.9.2-p180/bin/ruby

Many thanks for your help! Danke,

Zoli

Solved, thanks. Worked only from source.