From owner-freebsd-questions@freebsd.org Thu Sep 14 15:49:47 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 079BCE20CD8 for ; Thu, 14 Sep 2017 15:49:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BF6D381756 for ; Thu, 14 Sep 2017 15:49:46 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [192.168.24.29] (unknown [88.202.132.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 856DE1481 for ; Thu, 14 Sep 2017 15:49:38 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Subject: Re: Perl5.24.2? To: freebsd-questions@freebsd.org References: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> From: Matthew Seaman Message-ID: <527a4d83-443a-2843-9f27-842002710166@freebsd.org> Date: Thu, 14 Sep 2017 16:49:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <9172c06a79667cf19cb8df58baafb2f3.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Sep 2017 15:49:47 -0000 On 14/09/17 16:23, James B. Byrne via freebsd-questions wrote: > I am trying to build a perl module (p5-DBD-Pg) which has the following > setting in its Makefile: > > USE_PERL5=configure > > However, this gives the error that perl5.24.2 cannot be found. > Perl5.24.1 is the version available through the package manager. I am > not comfortable with replacing the current version of Perl system-wide > so I would like to simply have the module build with installed > version. > > If I set USE_PERL5=5.24+ then the make file fails. If I set > USE_PERL5=5.24+ configure then it goes back to asking for and failing > to find perl5.24.2. How do I tell the module to use perl5.24.1 AND > get it to configure? Going from perl-5.24.1 to perl-5.24.2 is not a particularly risky operation, although it might result in some churn with packages being re-installed. You may well find that biting the bullet and upgrading generally is your fastest route to a solution and a quiet life... I take it you're building this from source rather than using the pre-compiled packages? In which case, you'ld need to check out a copy of the ports tree prior to the update of perl5.24.1 to 5.24.2. Looks like you want r446021. p5-DBD-Pg hasn't been updated in months, so this will not be affected by reverting to a slightly older version of the ports. Note the pkg repository for the /quarterly/ packages (which is what you get by default) will have perl-5.24.1 since that's what was current at the end of June when the 2017Q3 branch was created. For pkgs that match what is currently in the ports tree, use the /latest/ packages. Cheers, Matthew