Skip to content

Instantly share code, notes, and snippets.

@simmogs
Created May 26, 2015 18:00
Show Gist options
  • Save simmogs/6307ff927a14ce8f21d9 to your computer and use it in GitHub Desktop.
Save simmogs/6307ff927a14ce8f21d9 to your computer and use it in GitHub Desktop.
$ sudo apt-get install libmagickwand-dev
[sudo] password for graeme:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmagickwand-dev is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
$ PATH="/usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16:$PATH" gem install rmagick
Building native extensions. This could take a while...
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/home/graeme/.rvm/rubies/ruby-2.1.2/bin/ruby -r ./siteconf20150526-14482-k6tg1s.rb extconf.rb
checking for gcc... yes
checking for Magick-config... yes
Warning: Found more than one ImageMagick installation. This could cause problems at runtime.
/usr/lib/x86_64-linux-gnu/ImageMagick-6.8.9/bin-Q16/Magick-config reports version 6.8.9 Q16 is installed in /usr
/usr/bin/Magick-config reports version 6.8.9 Q16 is installed in /usr
Using 6.8.9 Q16 from /usr.
checking for outdated ImageMagick version (<= 6.4.9)... no
checking for Ruby version >= 1.8.5... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... no
Can't install RMagick 2.15.0. 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=/home/graeme/.rvm/rubies/ruby-2.1.2/bin/ruby
extconf failed, exit code 1
Gem files will remain installed in /home/graeme/.rvm/gems/ruby-2.1.2@control/gems/rmagick-2.15.0 for inspection.
Results logged to /home/graeme/.rvm/gems/ruby-2.1.2@control/extensions/x86_64-linux/2.1.0/rmagick-2.15.0/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment