Terminal output
ronald-greens-imac:~ ron$ sudo gem install rmagick
Password:
Building native extensions. This could take a while…
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install rmagick
checking for Ruby version >= 1.8.2… yes
checking for gcc… yes
checking for Magick-config… yes
checking for ImageMagick version >= 6.3.0… 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=/usr/local/bin/ruby
/usr/local/lib/ruby/1.9.1/mkmf.rb:362:in try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first. from /usr/local/lib/ruby/1.9.1/mkmf.rb:431:intry_cpp’
from /usr/local/lib/ruby/1.9.1/mkmf.rb:809:in block in have_header' from /usr/local/lib/ruby/1.9.1/mkmf.rb:668:inblock in checking_for’
from /usr/local/lib/ruby/1.9.1/mkmf.rb:274:in block (2 levels) in postpone' from /usr/local/lib/ruby/1.9.1/mkmf.rb:248:inopen’
from /usr/local/lib/ruby/1.9.1/mkmf.rb:274:in block in postpone' from /usr/local/lib/ruby/1.9.1/mkmf.rb:248:inopen’
from /usr/local/lib/ruby/1.9.1/mkmf.rb:270:in postpone' from /usr/local/lib/ruby/1.9.1/mkmf.rb:667:inchecking_for’
from /usr/local/lib/ruby/1.9.1/mkmf.rb:808:in have_header' from extconf.rb:161:in’
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/
rmagick-2.9.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/rmagick-2.9.1/
ext/RMagick/gem_make.out
GCC version 4.0.1
MkMF.log
: checking for Ruby version >= 1.8.2... -------------------- yesfind_executable: checking for gcc… -------------------- yes
find_executable: checking for Magick-config… --------------------
yes
: checking for ImageMagick version >= 6.3.0... -------------------- yes
: checking for HDRI disabled version of ImageMagick... -------------------- yes
Yes, this all that’s in this file. I checked the last modified time
and date and it is correct.
As stated above the ImageMagick install is the os x binary.