Macports and CPAN
Chris Janton
face at CentosPrime.COM
Thu Sep 10 09:20:26 PDT 2009
Hi
Macports 1.8 - Snow Leopard
I have old PERL programs that use
Astro::Coord::ECI::Utils
I cannot find an equivalent p5-xyz port to install.
If I attempt to install it using /opt/local/bin/cpan I get the following
cpan[4]> install Astro::Coord::ECI::Utils
Running install for module 'Astro::Coord::ECI::Utils'
Running make for W/WY/WYANT/Astro-satpass-0.025.tar.gz
Use of inherited AUTOLOAD for non-method Digest::SHA::shaopen() is
deprecated at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/
Digest/SHA.pm line 55.
Catching error: "Can't locate auto/Digest/SHA/shaopen.al 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/
5.8.8 /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level /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/5.8.8 /opt/local/lib/perl5/vendor_perl/5.8.8/
darwin-2level /opt/local/lib/perl5/vendor_perl /opt/local/lib/
perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 /Users/system)
at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Digest/SHA.pm
line 55\cJ" at /opt/local/lib/perl5/5.8.9/CPAN.pm line 359
CPAN::shell() called at /opt/local/bin/cpan line 198
If I run /usr/bin/cpan and install Astro::Coord::ECI::Utils it works,
and is now available to /usr/bin/perl
I would much rather keep my PERLs clean, using "/usr/bin/env perl" but
that gets me in trouble.
any hints, suggestions, workarounds (besides simply using #!/usr/bin/
perl for that particular application)
Thanks.
8)
----------------------------------
Chris Janton - face at CentosPrime dot COM
Netminder for Opus1.COM
More information about the macports-users
mailing list