Friday, October 19, 2012

Mountain Lion configuration for running Akamai CCUAPI

I use Akamai's Perl API for purging content quite frequently for my job and it worked fine until I upgraded to Mountain Lion.  Here are the steps to get it working again.

XCode Configuration

XCode is now a stand alone application and doesn't install the Command Line Tools by default. Here is how you get it configured.

1. Make sure you have the Apple Developer Tools Installed.
2. Launch XCode and bring up the Preferences panel.
3. Click on the Downloads tab and then click to install the Command Line Tools (otherwise CPAN cannot access a working version of make).

Install Perl Modules

Install the SOAP:Lite module

sudo env FTP_PASSIVE=1 perl -MCPAN -e 'install SOAP::Lite'

Install the Mozilla::CA module.
This is needed to handle security certificates.
sudo env FTP_PASSIVE=1 perl -MCPAN -e 'install Mozilla::CA'

And you are done!

No comments:

Post a Comment