With the MacPorts version of ImageMagick 6.4.4 installed, I'm getting an error installing the RMagick gem.
/opt/local/bin/ruby extconf.rb update rmagick
checking for Ruby version >= 1.8.2... yes
checking for /usr/bin/gcc-4.0... yes
checking for Magick-config... no
Can't install RMagick 2.7.0. Can't find Magick-config in
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:
/Users/jason/.bin:/opt/local/bin:/usr/local/bin:/usr/local/mysql/bin:
/usr/local/ec2-api-tools/bin:/opt/local/bin:/usr/bin:
/usr/local/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
I've installed older versions of rmagick successfully. I've seen references to a dev package of ImageMagick, but it doesn't seem to be available from MacPorts.
How can I install RMagick 2.7 on Mac OS X with ImageMagick 6.4.4 from MacPorts?
I suggest using Homebrew instead of Macports. After installing Homebrew, run:
brew install imagemagick
gem install rmagick
Try this from the command line before installing the rmagick gem:
sudo port install tiff -macosx imagemagick +q8 +gs +wmf
Also have you read the installation documentation here ?
The install script can't find Magick-config in your path. Did you use a non-standard install location when you installed ImageMagick through MacPorts? Usually it goes into /opt/local/bin/
You can see where MacPorts put your Magick-config by running:
port contents ImageMagick
If you find it listed there, then make sure that the directory is included in your PATH and rerun the rmagick install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With