perl5, perl5.* changes
Mark Hattam
mark at dxradio.demon.co.uk
Sat Feb 26 11:16:45 PST 2011
On 26 Feb 2011, at 16:34, Daniel J. Luke wrote:
> On Feb 26, 2011, at 11:32 AM, Mark Hattam wrote:
>>
>>>> Error: port activate failed: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port. Please deactivate this port first, or use 'port -f activate perl5' to force the activation.
>>
>> The output from the initial "upgrade" says
>>
>>>> ---> Deactivating perl5 @5.8.9_0
>>
>> So is it perl5 that needs deleting or the /opt/local/bin/a2p ... whatever that is?
>
> read the error message, my response or do `port provides /opt/local/bin/a2p`
>
> You will see that you want to deactivate/uninstall perl5.8 (which is different from perl5)
>
> Once you do that, you can install perl5 (which will link to your newly built perl5.12)
>
> --
> Daniel J. Luke
Hmmm ... perhaps as a result of uninstalling perl 5.8 ( sudo port deactivate perl5.8 @5.8.9_3 ) and then activating perl5 ( sudo port activate perl5 @5.12.3_0+perl5_12 ), I now see
iMac:~ mark$ port provides /opt/local/bin/a2p
/opt/local/bin/a2p is provided by: perl5
iMac:~ mark$ ls -la /opt/local/bin/ | grep a2p
lrwxr-xr-x 1 root admin 8 26 Feb 16:34 a2p -> a2p-5.12
-rwxr-xr-x 2 root admin 126344 26 Feb 15:04 a2p-5.12
So now a2p is provided by perl5 not by perl5.12, whereas before it was provided by perl5.8 not by perl5 ... ???
Mark
More information about the macports-users
mailing list