port install doesn't create symlink
Jim Anderson
jander at jandernet.com
Sat Nov 5 16:10:34 PDT 2011
Thanks, that seems to have solved it. But I'm curious why this wasn't done by the install.
On Nov 5, 2011, at 7:02 PM, Phil Dobbin wrote:
> On 5/11/11 at 22:43, jander at 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...
>
More information about the macports-users
mailing list