Mar 5, 2012, 9:51 AM
Post #4 of 5
Many perl modules may have C/C++ libs that help optimize performance or perform complex problem solving. This dependency can lead to cross platform issues, which you are experiencing.
Re: [srhadden] Good lord, installing modules is a PITA. Help Please!
[In reply to]
I did a quick search and found a site that may help you.
Its called Mac Ports. http://www.macports.org/index.php
Click on Available Ports
There are many perl modules that were ported. You will need to decipher their naming conventions. Looks like p5.10 for perl5.10, and module name is lower case.
Dependencies: p5.10-email-address p5.10-email-simple p5.10-module-pluggable p5.10-return-value perl5.10
They may have an automated installer for perl modules.
Hopefully, you will find the modules that depend on these external libs have been ported to work on a Mac.
You should have no problem with modules that are pure perl.
The only problem with this dependency on Mac Ports, is just like any other binaries site, you have to hope its actively maintained. The other option is to find out what is required to port the code to Mac. Often times, it may be straight forward - lib paths, lib versions, or compiler/linking options. Other times, it could be subtle differences between BSD and Linux.