Can't seem to install RMAGICK on Ubuntu Karmic Koala

hi guys,

  I have been trying to install Rmagick on ubuntu karmic koala for a day.

Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick).

The following is what the execution looks like when I tried to install rmagick ( " gem install rmagick" ):

-------------------- Extract start

I seem to remember something similar when I was installing it on Karmic ages ago. If you go look in the mkmf.log that it talks about (can't remember where it is located) it indicates what the problem was. Mine was to do with other libs that needed to be installed. Things like build-essentials. Also, once you get the exact error message from the log file, you can usually google that to get a more specific idea of how to resolve the problem.

Cheers Simon

hi, Simon,

1. when I checked mkmf.log, there were no errors but a bunch of "yes" 2. don't know why but i cannot find the mkmf.log file now

then I am out of ideas, sorry :slight_smile:

it’s ok. I will keep trucking.

thank you :slight_smile:

any ideas, guys? :slight_smile:

hi guys, I looked around. I am running ruby 1.9.1.

Found this (http://forum.clockingit.com/discussion/381/) and it said “Ruby 1.9.1 isn’t supported at all, so please try 1.8.x instead.”.

That post was posted on “Mar 2nd 2009”.

Has this compatibility problem been resolved? Any ideas?

hi guys, I looked around. I am running ruby 1.9.1.

Found this (http://forum.clockingit.com/discussion/381/) and it said "Ruby 1.9.1 isn't supported at all, so please try 1.8.x instead.".

That post was posted on "Mar 2nd 2009".

Has this compatibility problem been resolved? Any ideas?

try installing the imagemagick ruby package

  1. I have installed ImageMagick and it has worked without problems for the past many months
  2. What exactly do you mean " imagemagick ruby package" ? Is that Rmagick? If that is, well, that’s the reason why this thread is existing -

I cannot seem to install it successfully.

ct9a wrote in post #909051:

hi guys,

  I have been trying to install Rmagick on ubuntu karmic koala for a day.

Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick).

I'm not sure if libmagick++-dev or libgraphicsmagick1-dev is required but the solution is:

apt-get install libmagick++-dev libgraphicsmagick1-dev

use the old version

ct9a wrote in post #909051:

hi guys,

  I have been trying to install Rmagick on ubuntu karmic koala for a day.

Yes, ImageMagicK has already been installed and works great with paperclip and a few other perl scripts I have (which uses Image::Magick).

The following is what the execution looks like when I tried to install rmagick ( " gem install rmagick" ):

I had imagemagick already installed and i tried this for Ubuntu 10.10 with ruby 1.9 and it worked!

http://snippets.dzone.com/posts/show/4140

Hope it will help

Bye