![]() ![]() (see below) Homebrew offers this as a keg-only package, which you can install with: brew install build output will include a Caveats section (also available from brew info if you cleared the output): => is keg-only, which means it was not symlinked into /usr/local,īecause this is an alternate version of another formula. RMagick depends on an outdated version of imagemagick, version 6. I still had ImageMagick 6.9.7-3 on my system and changed back with % brew switch imagemagick 6.9.7-3Ĭleaning /usr/local/Cellar/imagemagick/6.9.6-6Ĭleaning /usr/local/Cellar/imagemagick/6.9.7-0Ĭleaning /usr/local/Cellar/imagemagick/6.9.7-1Ĭleaning /usr/local/Cellar/imagemagick/6.9.7-3Ĭleaning /usr/local/Cellar/imagemagick/7.0.4-4ħ5 links created for /usr/local/Cellar/imagemagick/6.9.7-3Īfterwards I could install rmagick without trouble: % gem install rmagick Users/holger/.rbenv/versions/2.2.2/bin/ruby -r. ![]() ![]() Linking /usr/local/Cellar/imagemagick/7.0.4-4. ![]() Unlinking /usr/local/Cellar/imagemagick/7.0.4-4. wand/MagickWand.h couldn't be found any more: % brew unlink imagemagick & brew link imagemagick Something changed with ImageMagick 7.0.4-4 for me. Ruby 1.8.7 and ImageMagick 6.9.5 do not seem to be compatible. The error only occurs for Ruby 1.8.7, it is possible to install RMagick for Ruby 2.0 and Ruby 2.3. It does not work even if I specifiy the these paths during the gem install (same error as above) :-( C_INCLUDE_PATH=/usr/local/Cellar/imagemagick/6.9.5-9_1/include/ImageMagick-6 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig gem install rmagick => /usr/local/Cellar/imagemagick/6.9.5-9_1/lib/pkgconfig/MagickCore.pc => /usr/local/Cellar/imagemagick/6.9.5-9_1/include/ImageMagick-6/wand/MagickWand.h MagicWand seems to be used in ImageMagick version > 6.9, and it can be found on the machine: find /usr/local -name MagickWand.h 2.16.0 is the latest version of RMagick currently. I tried all the answers from here, and none of them works on MacOS :-( I reinstalled imagemagick and pkg-config with homebrew, and tried various version of RMagick without success. Can't find MagickWand.h.Īnd if it can not be installed, the whole application can not be started. yesĬhecking for outdated ImageMagick version (= 6.9.0). This could take a while.ĮRROR: Failed to build gem native extension.Ĭhecking for /usr/local/opt/gcc46/bin/gcc-4.6. Thus I uninstalled "rmagick", but it can not be installed again $ gem install rmagick -v 2.16.0īuilding native extensions. Now an older project in Ruby 1.8.7 refuses to work with the error message "this installation of RMagick was configured with ImageMagick 6.8.9 but ImageMagick 6.9.5-9 is in use". I have updated the Imagemagick version on my mac (MacOS El Capitan Version 10.11.5) with homebrew for one project in Ruby 2.3 to 6.9.5-9 $ convert -version $ brew install imagemagick 2.Updating RMagick and Imagemagick is a painful expierence. Install the latest Xcode from the App Store (it’s free)Īnd delete any files that end in. Remove any existing versions of ImageMagick If you are using Homebrew as a package manager for Mac, you’ll need to perform the following steps to get ImageMagicK working on OSX Mountain Lion: Today I will share you this simple tips hope it will save you a little time. It ‘s quite simple if you know how to do. Last time I face to a problem with Install ImageMagick for PHP on Mac what take me a lot of time to manage to get it work well. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |