#Brew imagemagick 6 installThe 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. Then check your phpinfo () within a simple php script running on your web server. From this SO answer: brew install php brew install imagemagick brew install pkg-config pecl install imagick And you may need to sudo apachectl restart. You have to also PECL install it so the PHP module is loaded. 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. Its not enough to brew install Imagemagick. 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 Updating RMagick and Imagemagick is a painful expierence.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |