port install doesn't create symlink
Mr. Puneet Kishor
punk.kish at gmail.com
Sat Nov 5 16:07:49 PDT 2011
On Nov 5, 2011, at 6: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.
>
Indeed. However, the more interesting question is, why didn't Macports add the path automatically for Jim? It did for me.
--
Puneet Kishor
More information about the macports-users
mailing list