Blog   Free Screensavers   Coverpop   Puzzles!
Fun & Games   Colr Pickr   Flash Bestiary   About KrazyDad

« Counting down the minutes….
Wolfgang’s Vault »

Installing PerlMagick on OSX

I have built up a pretty large collection of cool perl scripts that use the Image::Magick perl extensions - some of these are documented in Flickr Hacks. Recently I switched to a using a Mac, and I’ve been having a devil of a time using these scripts, because they require ImageMagick, and LWP, and I was getting all kinds of errors trying to install these into the version of Perl that shipped with the Mac.

I finally managed it today. First of all, I installed ActiveState Perl on my Mac, and set up my PATH variable to look in the /usr/local/bin directory first. I modified my various perl scripts to use this version of Perl, instead of the built-in one. ActiveState perl has built-in support for more of the basic CPAN modules that I tend to use, and a pretty good cpan utility for getting more of them. Unfortunately, ImageMagick is still a little too fringe and is not supported in their collection of CPAN ports.

So… I followed the instructions at Josh Clark’s excellent blog to install ImageMagick. This requires first installing MacPorts which is another tool for easing open source installations on the Mac (similar to Fink, which I’ve used, but which didn’t help for this particular problem).

A big thank you to Josh Clark for providing these instructions - I’ve been banging my head against the wall on this one for weeks!

This entry was posted on Wednesday, January 3rd, 2007 at 8:09 pm and is filed under Linkydinks. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply

You must be logged in to post a comment.






Entries (RSS) and Comments (RSS).
Copyright © 2008 Jim Bumgardner. All Rights Reserved.
Leave Jim some feedback.