Perl 5.10?
Daniel J. Luke
dluke at geeklair.net
Mon Oct 27 08:23:01 PDT 2008
On Oct 26, 2008, at 11:53 PM, Shawn Protsman wrote:
> I installed Perl 5.10 today. Unfortunately it seems like there is
> confusion between 5.8.8 and 5.10. I tried to run cpanp and this was
> the output:
>
> @naiad ~] cpanp-5.10
> Can't locate CPANPLUS.pm in @INC (@INC contains: /opt/local/lib/
> perl5/5.8.8/darwin-2level /opt/local/lib/perl5/5.8.8 /opt/local/lib/
> perl5/site_perl/5.8.8/darwin-2level /opt/local/lib/perl5/site_perl/
> 5.8.8 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/
> vendor_perl/5.8.8/darwin-2level /opt/local/lib/perl5/vendor_perl/
> 5.8.8 /opt/local/lib/perl5/vendor_perl .) at /opt/local/bin/
> cpanp-5.10 line 11.
> BEGIN failed--compilation aborted at /opt/local/bin/cpanp-5.10 line
> 11.
The problem here is that cpanp-5.10 has a #! line that refers to /opt/
local/bin/perl
> How do I get macports Perl to focus on 5.10 and not get confused
> with 5.8.8?
If you just want perl 5.10, you can uninstall perl5.8 and add a
symlink in /opt/local/bin so that /opt/local/bin/perl -> /opt/local/
bin/perl5.10.0
There has been some discussion about how to fix this, and hopefully
there will be updated perl port(s) soon.
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20081027/3ff9d571/attachment.bin>
More information about the macports-users
mailing list