Hi! Sunday I got this error. I typed the following commands, after a search in google:
sudo apt-get install imagemagick libmagickcore-dev sudo apt-get install libmagickwand-dev (Then, gem install rmagick) Referente: http://superuser.com/questions/163818/how-to-install-rmagick-on-ubuntu-10-04 I hope it works for you. Best Regards, Everaldo On Wed, Sep 21, 2011 at 10:41 AM, Tom Meinlschmidt <to...@meinlschmidt.com>wrote: > > http://rmagick.rubyforge.org/install2-linux.html > > > On Sep 21, 2011, at 15:33 , Sandeep Campbell wrote: > > > I have Rails 3 and Ruby 1.9.2 > > > > Installing rmagick (2.13.1) with native extensions > > /opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue > > in block in build_extensions': ERROR: Failed to build gem native > > extension. (Gem::Installer::ExtensionBuildError) > > > > /opt/local/bin/ruby19 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=/opt/local/bin/ruby19 > > /opt/local/lib/ruby/1.9/mkmf.rb:368:in `try_do': The complier failed to > > generate an executable file. (RuntimeError) > > You have to install development tools first > > > > -- > > 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@googlegroups.com. > > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > > =============================================================================== > Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache > > www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz > > =============================================================================== > > -- > 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@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.