perl5 install errors
Ryan Schmidt
ryandesign at macports.org
Tue Jan 13 16:47:21 PST 2009
On Jan 13, 2009, at 01:52, Bradley Giesbrecht wrote:
> On Jan 12, 2009, at 4:09 AM, Vincent Lefevre wrote:
>
>> On 2009-01-11 21:18:52 -0800, Bradley Giesbrecht wrote:
>>> While struggling to get perl5 reinstalled I noticed a lot of files
>>> referencing /opt/local/bin/perl in /usr/share/bin.
>>
>> What do you mean by "referencing"? Do you have an example?
>
> Sure, heres what surprises me:
>
> bash-3.2# grep -R /opt/local/bin/ /usr/share/bin/
> /usr/share/bin/c2ph:#!/opt/local/bin/perl
> /usr/share/bin/c2ph: eval 'exec /opt/local/bin/perl -S $0 ${1
> +"$@"}'
[snip]
You've got it the other way around: you're searching for the string "/
opt/local/bin/" inside all the files located in the directory /usr/
share/bin/, and are finding lots of matches.
It looks to me like you have MacPorts installed in /opt/local/bin,
but for some reason have set a symlink /usr/share/bin pointing to /
opt/local/bin. You should delete that symlink.
More information about the macports-users
mailing list