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
----------------------------------------------
ct9a@ubuntu-karmic-koala:~/projects/RealAutoParts# gem install rmagick
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... yes
checking for ImageMagick version >= 6.4.9... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... *** 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
/usr/local/lib/ruby/1.9.1/mkmf.rb:364:in `try_do'': The complier failed
to generate an executable file. (RuntimeError)
You have to install development tools first.
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:433:in `try_cpp''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:811:in `block in
have_header''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:670:in `block in
checking_for''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:276:in `block (2
levels) in postpone''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:250:in `open''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:276:in `block in
postpone''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:250:in `open''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:272:in `postpone''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:669:in `checking_for''
        from /usr/local/lib/ruby/1.9.1/mkmf.rb:810:in `have_header''
        from extconf.rb:193:in `<main>''
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/
rmagick-2.13.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/rmagick-2.13.1/
ext/RMagick/gem_make.out
-------------------- Extract end-
----------------------------------------------
Any ideas, guys?
thank you :)
-- 
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
Simon Macneall
2010-Apr-30  00:12 UTC
Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
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 On Fri, 30 Apr 2010 08:08:20 +0800, ct9a <anexiole-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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" ): >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Simon Macneall
2010-Apr-30  00:22 UTC
Re: Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
then I am out of ideas, sorry :) On Fri, 30 Apr 2010 08:17:16 +0800, ct9a <anexiole-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gordon Yeong
2010-Apr-30  00:38 UTC
Re: Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
it''s ok. I will keep trucking. thank you :) any ideas, guys? :) On 30 April 2010 10:22, Simon Macneall <macneall-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> then I am out of ideas, sorry :) > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gordon Yeong
2010-Apr-30  01:35 UTC
Re: Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
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? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Prashanth Acharya
2010-May-02  02:39 UTC
Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
try installing the imagemagick ruby package -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gordon Yeong
2010-May-02  02:50 UTC
Re: Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
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. On 2 May 2010 12:39, Prashanth Acharya <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> try installing the imagemagick ruby package > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Arne D.
2010-Jul-24  12:24 UTC
Re: Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
Gordon Yeong wrote:> 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.There actually is an ubuntu meta-package called "librmagick-ruby" which will take care of the dependencies. It seems to install "librmagick-ruby1.8" as of now, so now 1.9 support yet. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Francisco antonio T.
2011-Jan-31  11:10 UTC
Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
vishal singh
2011-Feb-05  12:51 UTC
Re: Re: Can''t seem to install RMAGICK on Ubuntu Karmic Koala
use the old version> >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.