in reply to Re: Configuring Mac OS X to Install Perl Modules
in thread Configuring Mac OS X to Install Perl Modules
These posts pointed me in the write direction. Hopefully, this clarification can help someone else fix this same problem.
To install DateTime on Mac
- read the original post from Perrmoss and the reply by Corion for background info
- sudo CPAN
- go through configuration (if needed) press enter for most options except:
- choose "follow" for the prerequisite policy (instead of ask)
- personally, I made the recommended/common choices to some of the options (like UNINST=1)
- Try to install DateTime. Every time you see an error, install the package that's missing by:
- Looking for text along the lines of
- Take the "Params/Validate.pm" part and convert it to Params::Validate
- and run the corresponding command in CPAN: install Params::Validate
Now here's the key:
Can't locate Params/Validate.pm in @INC (@INC
or
Can't locate DateTime/Locale.pm in @INC (@INC
For me to get the DateTime module to install I had to run the following, first:
install Params::Validate
install DateTime::Locale
install DateTime::TimeZone
Keep following that pattern and you'll get it installed, finally!!!
In Section
Seekers of Perl Wisdom