Error Installing Rmagick-2.13.1.gem
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ImageMagick / RMagick - Can't install RMagick 2.13.1. Can't find Magick-config up vote 59 down vote favorite 20 I used a script to install ImageMagick http://github.com/masterkain/ImageMagick-sl After a while, I got ImageMagick installed. Then I ran sudo gem install rmagick and got Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. .rvm/rubies/ruby-1.9.2-p0/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.13.1. Can't find Magick-config in... I'm working in OSX Snow Leopard with Ruby 1.9.2 and Rails 3. Any ideas? ruby-on-rails imagemagick rmagick share|improve this question asked Oct 8 '10 at 20:51 teecraft 4171710 please accept my answer if it fixes the problem, even though it was 5 years ago :) –eaykin Dec 29 '15 at 14:15 add a comment| 9 Answers 9 active oldest votes up vote 102 down vote I was getting the same error and it got resolved after installing the libmagick9-dev library on ubuntu 11. Update (Thanks to the commenters - Dec. 2012) $ sudo apt-get install libmagickwand-dev or $ sudo apt-get install graphicsmagick-libmagick-dev-compat for ubuntu 12 $ sudo apt-get install libmagickwand-dev or $ sudo apt-get install libmagick9-dev for ubuntu 11 or below. $ yum install ImageMagick-devel for centos $ brew install imagemagick for Mac OS (using Homebrew) share|improve this answer edited Dec 11 '12 at 19:10 answered Nov 14 '10 at 15:35 eaykin 2,53012222 7 sudo apt-get install libmagick9-dev fixed for me on Ubuntu 11.10 –Kleber S. Mar 8 '12 at 11:34 9 sudo apt-get install graphicsmagick-libmagick-dev-compat fixed it for me on Ubuntu 12.04 –oalders May 9 '12 at 4:10 4 Ubuntu 12... sudo apt-get i
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask http://stackoverflow.com/questions/3894225/imagemagick-rmagick-cant-install-rmagick-2-13-1-cant-find-magick-config a question Anybody can answer The best answers are voted up and rise to the top How to install rmagick on Ubuntu 10.04? up vote 97 down vote favorite 43 Here's what I've done so far: sudo apt-get install imagemagick libmagickcore-dev This did not throw any errors, so I think that ImageMagick is installed fine. Then I tried installing the gem: sudo gem install http://superuser.com/questions/163818/how-to-install-rmagick-on-ubuntu-10-04 rmagick This resulted in the following error: ERROR: Error installing rmagick: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 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... yes checking for sys/types.h... yes checking for wand/MagickWand.h... no Can't install RMagick 2.13.1. Can't find MagickWand.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/bin/ruby1.8 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out What do I need to do to install rmagick on Ubuntu 10.04? ubuntu-10.04 imagemagick rubygems share|improve this question asked Jul 15 '10 at 4:02 Andrew 5,267245375 Perhaps moved to unix.stackexchange? –Chris Aug 28 '10 at 14:01 add a comment| 5 Answers 5 active oldest votes up vote 125 down vote accepted I think you also have to install libmagi
install rmagick https://www.ruby-forum.com/topic/3906823 requires imagemagick thufir (Guest) on 2012-03-22 13:44 I was trying to just do a CLI short (very short) script http://www.redmine.org/boards/2/topics/31558?r=31580 with activerecord and sqlite3, and in tracing back some errors ended at: thufir@dur:~$ thufir@dur:~$ gem search rmagic -r *** error installing REMOTE GEMS *** compass-rmagick-engine (0.0.2) hornetseye-rmagick (0.5.0) jdeerhake-compass-rmagick-engine (0.0.3) rdp-rmagick (0.0.0) rmagick (2.13.1) rmagick4j (0.3.7, 0.3.4 java) rmagick_captcha (0.6.2) thufir@dur:~$ thufir@dur:~$ thufir@dur:~$ thufir@dur:~$ thufir@dur:~$ gem install rmagick --no-rdoc --no-ri Building native extensions. This could take a while... ERROR: Error error installing rmagick-2.13.1.gem installing rmagick: ERROR: Failed to build gem native extension. /home/thufir/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes extconf.rb:128: Use RbConfig instead of obsolete and deprecated Config. checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.1. Can't find Magick-config in /home/ thufir/.rvm/gems/ruby-1.9.3-p125/bin:/home/thufir/.rvm/gems/ruby-1.9.3- p125@global/bin:/home/thufir/.rvm/rubies/ruby-1.9.3-p125/bin:/opt/ ActiveTcl-8.5/bin:/home/thufir/.rvm/gems/ruby-1.9.3-p125/bin:/home/ thufir/.rvm/gems/ruby-1.9.3-p125@global/bin:/home/thufir/.rvm/rubies/ ruby-1.9.3-p125/bin:/home/thufir/.rvm/bin:/usr/lib/lightdm/lightdm:/usr/ local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games *** 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 --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/thufir/.rvm/rubies/ruby-1.9.3-p125/bin/ruby Gem files will remain installed in /home/thufir/.rvm/gems/ruby-1.9.3-p125/ gems/rmagick-2.13.1 for inspection. Results logged to /home/thufir/.rvm/gems/ruby-1.9.3-p125/gems/ rmagick-2.13.1/ext/RMagick/gem_make.out thufir@dur:~$ thufir@dur:~$ thufir@dur:~$ ty
years ago Hi all I have been trying for two days now to install Redmine. I got the ruby, rubygems, mysql (already installed) and apache mod installed and they are fine. The issue I seem to be running into is the RMagick and ImageMagick files. Below is the error when using "bundle install". Any help would be greatly appreciated. Installing rmagick (2.13.1) with native extensionsGem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
extconf.rb:128: Use RbConfig instead of obsolete and deprecated Config.
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
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
Package MagickCore was not found in the pkg-config search path.
Perhaps you should add the directory containing `MagickCore.pc'
to the PKG_CONFIG_PATH environment variable
No package 'MagickCore' found
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... no Can't install RMagick 2.13.1. Can't find MagickWand.h. extconf.rb failed ***Could not create Makefile due to some reason, probably lack ofnecessary libraries and/or headers. Check the mkmf.log file for moredetails. You may need configuration options. Provided configuration options: --with-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=.