p5-xxx - How do I get a PERL module (or 2) added?

Chris Janton face at CentosPrime.COM
Mon Sep 7 08:34:40 PDT 2009


In the past I messed around with CPAN, and things worked.

Doing a "clean" macports on Snow Leopard and trying to keep CPAN out  
of it.

I used the following

#!/usr/bin/env perl

use POSIX qw(strftime);
use Date::Parse;
use Astro::Coord::ECI::Utils qw{:all};

in my PERL code. I have installed a whole bunch of p5- routines (date  
related), but I obviously haven't found the right one for Date::Parse...

face at mac:bin:123 $ dates-rss
Can't locate Date/Parse.pm in @INC (@INC contains: /opt/local/lib/ 
perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ 
5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/ 
5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/ 
lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-2level /opt/ 
local/lib/perl5/5.8.9 .) at ./dates-rss line 4.
BEGIN failed--compilation aborted at ./dates-rss line 4.


   p5-archive-tar @1.52_0 (active)
   p5-bit-vector @6.4_0 (active)
   p5-carp-clan @6.00_0 (active)
   p5-class-factory-util @1.7_0 (active)
   p5-class-singleton @1.4_0 (active)
   p5-compress-raw-bzip2 @2.021_0 (active)
   p5-compress-raw-zlib @2.021_0 (active)
   p5-compress-zlib @2.015_0 (active)
   p5-crypt-ssleay @0.57_0 (active)
   p5-date-calc @5.4_0 (active)
   p5-datemanip @5.54_0 (active)
   p5-datetime @0.50_0 (active)
   p5-datetime-format-builder @0.7901_0 (active)
   p5-datetime-format-iso8601 @0.04.02_0 (active)
   p5-datetime-format-mail @0.30_0 (active)
   p5-datetime-format-pg @0.16004_0 (active)
   p5-datetime-format-strptime @1.1000_0 (active)
   p5-datetime-format-w3cdtf @0.04_0 (active)
   p5-datetime-locale @0.43_0 (active)
   p5-datetime-timezone @0.96_0 (active)
   p5-dbi @1.609_0 (active)
   p5-digest-sha @5.47_0 (active)
   p5-extutils-cbuilder @0.260301_0 (active)
   p5-extutils-parsexs @2.2002_0 (active)
   p5-getopt-long @2.38_0 (active)
   p5-html-parser @3.62_0 (active)
   p5-html-tableextract @2.10_0 (active)
   p5-html-tagset @3.20_0 (active)
   p5-io-compress @2.021_0 (active)
   p5-io-compress-base @2.015_0 (active)
   p5-io-compress-zlib @2.015_0 (active)
   p5-io-zlib @1.10_0 (active)
   p5-list-moreutils @0.22_0 (active)
   p5-locale-gettext @1.05_0 (active)
   p5-module-build @0.35_0 (active)
   p5-module-signature @0.55_0 (active)
   p5-package-constants @0.02_0 (active)
   p5-params-validate @0.91_0 (active)
   p5-sub-uplevel @0.2002_0 (active)
   p5-task-weaken @1.03_0 (active)
   p5-test-exception @0.27_0 (active)
   p5-test-simple @0.94_0 (active)
   p5-uri @1.40_0 (active)
   p5-version @0.7701_0 (active)
   p5-yaml @0.68_0 (active)

8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM




More information about the macports-users mailing list