Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default
Julian H. Stacey
jhs at berklix.com
Fri Oct 2 17:12:52 UTC 2015
Hi, Reference:
> From: Mattia Rossi <mattia.rossi.mailinglists at gmail.com>
> Date: Fri, 2 Oct 2015 10:38:58 +0200
Mattia Rossi wrote:
>
>
> Am 01.10.2015 um 18:23 schrieb Chris H:
> > On Thu, 1 Oct 2015 15:00:55 +0200 Mattia Rossi
> > <mattia.rossi.mailinglists at gmail.com> wrote
> >
> >> Problem seems solved now.
> >> I've found a leftover file in /usr/local/etc: perl5_version
> >> Have no idea which program put it there
> > Perl did.
> >
> > Ironic, isn't it. :)
> It is.. :-)
>
> I guess it's something that has been fixed in the meantime, and it was
> an artefact of an older perl version, which I didn't clean out properly,
> when I deleted and reinstalled all ports...
Glad you mentioned that as on nearly current ports
I had just failed to grep 5.20.2 ports/Mk/* , after
===> Patching for curl-7.44.0
===> Applying FreeBSD patches for curl-7.44.0
===> curl-7.44.0 depends on file: /usr/local/bin/perl5.20.2 - not found
===> curl-7.44.0 depends on file: /usr/local/bin/perl5.20.2 - not found
*** Error code 1
Stop.
make[1]: stopped in /data/release/11.0-CURRENT/usr/ports/ftp/curl
& from /usr/ports/lang/perl5.20 I have /usr/local/bin/perl5.20.3
so cd /usr/ports ; svn up
Updating '.':
At revision 398429.
ls -l /usr/local/etc/perl5_version
-rw-r--r-- 1 root wheel 96 May 29 14:33 /usr/local/etc/perl5_version
cat /usr/local/etc/perl5_version
# Do not modify PERL_VERSION here, instead use DEFAULT_VERSIONS= perl5=5.20
PERL_VERSION=5.20.2
mv /usr/local/etc/perl5_version /usr/local/etc/perl5_version.mv
cd /usr/ports/ftp/curl ; make install
So this thread saved me, Thanks.
Cheers,
Julian
--
Julian Stacey, BSD Linux Unix Sys. Eng. Consultant Munich http://berklix.com
Reply After previous text to preserve context, as in a play script.
Indent previous text with > Insert new lines before 80 chars.
Use plain text, Not quoted-printable, Not HTML, Not base64, Not MS.doc.
More information about the freebsd-ports
mailing list