On 5/11/11 at 22:43, jan...@jandernet.com (Jim Anderson) wrote:

That worked, but now when I enter "cpan", a binary in the perl5.14 dist, I get

jim-andersons-macbook-pro:~ jander$ cpan
-bash: /usr/local/bin/cpan: /usr/local/bin/perl: bad interpreter: No such file or directory

Why is it looking on /usr/local and not in /opt/local?

You need to add the PATH for /opt/local/bin/perl to your .bash_profile.

Or you can run `sudo /opt/local/bin/perl -MCPAN -e shell` if you’re in a hurry...

Cheers,

    Phil.
--
Please consider the environment before reading this email...

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to