Install Image::Magick perl module on OSX
Because Image::Magick needs some C header files to be available on your system, installation using cpanm fail at first.
Before using cpanm to you need to install imagemagick libraries first:
brew install --fresh imagemagick --with-perl
Now you can try to install perl module:
sudo cpanm Image::Magick
If you still get the errors, check if the error is in the test suite and try to add --force option at the end of the command above.
brew install --fresh imagemagick --with-perl --force
Cheers!
Written by Valcho Nedelchev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Perl
Authors
janosgyerik
25.16K
Jean-Remy Duboc
12.25K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#