Skip to content

Instantly share code, notes, and snippets.

@richardsondx
Created April 3, 2012 22:59
Show Gist options
  • Save richardsondx/2296159 to your computer and use it in GitHub Desktop.
Save richardsondx/2296159 to your computer and use it in GitHub Desktop.
error with rmagick
Installing rmagick (2.13.1) with native extensions /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:552:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/Users/Richardson/.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... 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=/Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
/Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:834:in `block in have_header'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:693:in `block in checking_for'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels) in postpone'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:280:in `block in postpone'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/mkmf.rb:833:in `have_header'
from extconf.rb:193:in `<main>'
Gem files will remain installed in /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rmagick-2.13.1 for inspection.
Results logged to /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:530:in `block in build_extensions'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `each'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:505:in `build_extensions'
from /Users/Richardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:180:in `install'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/source.rb:101:in `block in install'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/rubygems_integration.rb:279:in `preserve_paths'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/source.rb:91:in `install'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/installer.rb:58:in `block (2 levels) in run'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/rubygems_integration.rb:93:in `with_build_args'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/installer.rb:57:in `block in run'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/spec_set.rb:12:in `block in each'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/spec_set.rb:12:in `each'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/spec_set.rb:12:in `each'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/installer.rb:49:in `run'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/installer.rb:8:in `install'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/cli.rb:222:in `install'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/lib/bundler/vendor/thor/base.rb:389:in `start'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.14/bin/bundle:13:in `<top (required)>'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bin/bundle:19:in `load'
from /Users/Richardson/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bin/bundle:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment