From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 17:59:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4640B106564A for ; Wed, 29 Aug 2012 17:59:18 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail3.networktest.com (mail3.networktest.com [69.55.234.104]) by mx1.freebsd.org (Postfix) with ESMTP id 2309E8FC1B for ; Wed, 29 Aug 2012 17:59:17 +0000 (UTC) Received: from localhost (localhost [69.55.234.104]) by mail3.networktest.com (Postfix) with ESMTP id 34A832560D4 for ; Wed, 29 Aug 2012 10:59:17 -0700 (PDT) Received: from mail3.networktest.com ([69.55.234.104]) by localhost (mail3.networktest.com [69.55.234.104]) (maiad, port 10024) with ESMTP id 62418-08 for ; Wed, 29 Aug 2012 10:59:15 -0700 (PDT) Received: from dhcp146.eng.networktest.com (ns.networktest.com [205.147.16.129]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dnewman@networktest.com) by mail3.networktest.com (Postfix) with ESMTPSA id EFAE52560D3 for ; Wed, 29 Aug 2012 10:59:14 -0700 (PDT) Message-ID: <503E5872.9050805@networktest.com> Date: Wed, 29 Aug 2012 10:59:14 -0700 From: David Newman Organization: Network Test Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <503BF131.4030803@sage-american.com> <44ehmp3k1a.fsf@be-well.ilk.org> <503E3071.7000905@sage-american.com> In-Reply-To: <503E3071.7000905@sage-american.com> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Upgrading perl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2012 17:59:18 -0000 On 8/29/12 8:08 AM, Jack Stone wrote: > On 8/29/2012 8:27 AM, Lowell Gilbert wrote: >> Jack Stone writes: >> >>> uname -a FreeBSD mail.sagedata.net 7.0-RELEASE-p9 FreeBSD >>> 7.0-RELEASE-p9 #2: Sun Jan 18 19:59:27 CST 2009 >>> >>> Running perl5.10 (yeah, old!) >>> This is a production server. >>> >>> >>> Been playing catchup on ports including perl as UPDATING recommends: >>> portupgrade -o lang/perl5.12 -f perl-5.10.\* >>> >>> That has worked on other servers, but not this one. Anyone know what I >>> need to do to clean this up?? >>> >>> But, can't get past this fatal error: >>> mail# portupgrade -o lang/perl5.12 -f perl-5.10.\* >>> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive >>> specification: "WITHOUT_" >>> "/usr/ports/Mk/bsd.options.mk", line 231: Error in archive >>> specification: "WITHOUT_" >>> make: fatal errors encountered -- cannot continue >>> ** Makefile possibly broken: lang/perl5.12: >> You're almost four years past the end-of-life on the release you're >> running, so it's been left behind in terms of support. In this case it >> looks (based on a *very* quick look) that you may be running into >> changes in how make(1) actually works, in which case backporting the >> ports functionality will be more work than it's worth. >> >> If the machine "can't" be updated, and assuming it's secure (which hard >> to be sure about with old software on the Internet), you may be best off >> leaving it alone. >> >> Good luck. >> >> > Thanks for the reply. > > Actually, on other servers with the same upgrading needs, perl-5.12 > installed without any issue. My intention is to upgrade perl in > increments to get well past EOL. > > Wonder if I just deinstalled the old perl5-5.10 and then installed the > perl5-12 would work. I can do that right from the port: make perl5-12 > first to see if that works, then: > # make deinstall (perl-5.10) then: make install clean If you're using portmaster, you should be able to do something like the following from /usr/ports: portmaster -o lang/perl5.16 lang/perl5.10 portmaster p5- and perl automagically will upgrade. This is from /usr/ports/UPDATING. You can also find instructions for portupgrade there. Don't know about dependencies with 7.0, though. dn > > What do you think? I've got to move up because an important perl program > requires a minimum 5.12. >