Skip to content

Instantly share code, notes, and snippets.

@dchapman1988
Created July 20, 2011 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dchapman1988/1095996 to your computer and use it in GitHub Desktop.
Save dchapman1988/1095996 to your computer and use it in GitHub Desktop.
Installing rmagick (2.13.1) with native extensions /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:533:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/home/david/.rvm/rubies/ruby-1.9.2-p180/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 /home/david/.rvm/gems/ruby-1.9.2-p180/bin:/home/david/.rvm/gems/ruby-1.9.2-p180@global/bin:/home/david/.rvm/rubies/ruby-1.9.2-p180/bin:/home/david/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/bin:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/bin
*** 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/david/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
Gem files will remain installed in /home/david/.rvm/gems/ruby-1.9.2-p180/gems/rmagick-2.13.1 for inspection.
Results logged to /home/david/.rvm/gems/ruby-1.9.2-p180/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
from /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:511:in `block in build_extensions'
from /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `each'
from /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:486:in `build_extensions'
from /home/david/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:159:in `install'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/source.rb:100:in `install'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/rubygems_integration.rb:90:in `with_build_args'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/installer.rb:57:in `block in run'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/spec_set.rb:12:in `block in each'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/spec_set.rb:12:in `each'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/spec_set.rb:12:in `each'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/installer.rb:49:in `run'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/installer.rb:8:in `install'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/cli.rb:222:in `install'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/vendor/thor/task.rb:22:in `run'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/lib/bundler/vendor/thor/base.rb:389:in `start'
from /home/david/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.13/bin/bundle:13:in `<top (required)>'
from /home/david/.rvm/gems/ruby-1.9.2-p180/bin/bundle:19:in `load'
from /home/david/.rvm/gems/ruby-1.9.2-p180/bin/bundle:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment