I thought I had them, but apparently when we upgraded that computer to Tiger, they went missing. These are on one of your install discs, or available as a huge but free download from the Apple Developer Connection or the Mac App Store. So, with a script that called on several apparently unavailable modules, and a deadline looming, I finally decided to suck it up and figure out how to use CPAN to install them: 1) Make sure you have the Apple Developer Tools (XCode) installed. Moreover, Fink doesn’t seem to make every module available, and it’s not very easy to determine which Fink package you need to install if you need a particular module. The only instructions I could find point to Fink, which basically installs modules in a path that isn’t included in the Perl variable, meaning you have to manually specify the full path to the modules in every script - which is not a lot of fun if you’re developing on OS X and deploying on Red Hat, for instance. You see, for the past couple of years, I’ve been a bit frustrated because OS X does not come with a whole lot of Perl modules pre-installed, and for all I googled, I couldn’t find an “idiot’s” guide for moderately-savvy-but-not-expert users like myself to install modules and dependencies on demand. Today at work, I learned how to install Perl modules using CPAN.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |