Problem installing Perl5.22

Horst Simon horst.simon at optusnet.com.au
Tue Dec 15 21:23:40 PST 2015


> On 16 Dec 2015, at 13:25, Horst Simon <horst.simon at optusnet.com.au> wrote:
> 
> Hi,
> 
> sudo port install perl5.22 works fine, but after running sudo port install perl5 it failed as follow:
> 
> --->  Computing dependencies for perl5
> --->  Fetching archive for perl5
> --->  Attempting to fetch perl5-5.22.1_0+perl5_22.darwin_15.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/perl5 <http://jog.id.packages.macports.org/macports/packages/perl5>
> --->  Attempting to fetch perl5-5.22.1_0+perl5_22.darwin_15.noarch.tbz2 from http://packages.macports.org/perl5 <http://packages.macports.org/perl5>
> --->  Attempting to fetch perl5-5.22.1_0+perl5_22.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/perl5 <http://lil.fr.packages.macports.org/perl5>
> --->  Fetching distfiles for perl5
> --->  Verifying checksums for perl5
> --->  Extracting perl5
> --->  Configuring perl5
> --->  Building perl5
> --->  Staging perl5 into destroot
> Error: Can't find perl 5.22 (as /opt/local/bin/perl5.22) so can't link perl5 to it.
> Error: org.macports.destroot for port perl5 returned: perl5.22 is missing
> 
> 
> Kind Regards,
> Horst Simon
> 
> 
> 
>> On 16 Dec 2015, at 12:41, Mojca Miklavec <mojca at macports.org <mailto:mojca at macports.org>> wrote:
>> 
>> On 16 December 2015 at 02:26, Mojca Miklavec <mojca at macports.org <mailto:mojca at macports.org>> wrote:
>>> On 16 December 2015 at 02:09, Horst Simon wrote:
>>>> 
>>>> Error: Can't find perl 5.22 (as /opt/local/bin/perl5.22) so can't link perl5
>>>> to it.
>>> 
>>> Please wait a few minutes. I'll commit a fix.
>> 
>> Dear Simon,
>> 
>> Can you please test if
>> 
>> sudo port selfupdate
>> sudo port -f uninstall perl5.22
>> sudo port install perl5.22
>> sudo port install perl5
>> 
>> fixes the problem now? Before installing perl5.22 please make sure
>> that this patch has been (automatically, by selfupdate) applied to
>> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5/Portfile <http://rsync.macports.org/release/tarballs/ports/lang/perl5/Portfile>
>> 
>> --- Portfile
>> +++ Portfile
>> @@ -145,8 +145,8 @@
>>                     move ${binFile} ${binFile}-${perl5.major}
>>                 }
>>             }
>> -            move ${destroot}${prefix}/bin/perl${version}
>> ${destroot}${prefix}/bin/${name}
>> -            ln -s ${name} ${destroot}${prefix}/bin/perl${version}
>> +            move ${destroot}${prefix}/bin/perl${version}
>> ${destroot}${prefix}/bin/${subport}
>> +            ln -s ${subport} ${destroot}${prefix}/bin/perl${version}
>>             foreach man1File [glob -directory
>> "${destroot}${prefix}/share/man/man1p" *] {
>>                 regexp (.*)(\.1.*) ${man1File} -> program suffix
>>                 move ${man1File} ${program}-${perl5.major}${suffix}
>> 
>> Thank you,
>>    Mojca
> 

Hi Mojca,

It is working now, I think I installed to early before. Thanks for the fast response.

Regards,
Horst


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151216/cb215040/attachment.html>


More information about the macports-users mailing list