Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Oct 2015 19:11:46 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
Cc:        Chris H <bsd-lists@bsdforge.com>, freebsd-ports@freebsd.org
Subject:   Re: Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default
Message-ID:  <201510021711.t92HBklZ048810@fire.js.berklix.net>
In-Reply-To: Your message "Fri, 02 Oct 2015 10:38:58 %2B0200." <560E42A2.5070504@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Reference:
> From:		Mattia Rossi <mattia.rossi.mailinglists@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510021711.t92HBklZ048810>