From owner-freebsd-questions@freebsd.org Tue Nov 8 16:00:31 2016 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 715D6C36E67 for ; Tue, 8 Nov 2016 16:00:31 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from mx.box-hlm-03.niklaas.eu (mx.box-hlm-03.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:feaa:e902]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DBE38B4 for ; Tue, 8 Nov 2016 16:00:31 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (mysql2.box-local.klaas [10.77.5.3]) by mx.box-hlm-03.niklaas.eu (Postfix) with ESMTPSA id 2A8A64F99F1 for ; Tue, 8 Nov 2016 17:00:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=niklaas.eu; s=default; t=1478620829; bh=3WBMfL3aYWpcdXNEdg60ajpYi/nwoASyZqL8E9b6tRc=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To; b=oz+LAiyouA3A00rhA40xYrQs/q8PjNPIM9L2cyMEiPKuH4ef4jfeIycEZZr7frxkK 7VVmU6SopphBnbNWR3+U4Bwy8X2VhuGcSFP5Wt+/RbM5W6OBTWeD2uN2ILivxjzPBA QojIcXog02W2qOdMZvx8gaIMI7p6l3XSpWViyOoA= Date: Tue, 8 Nov 2016 17:00:29 +0100 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: Re: After perl upgrade: "Can't locate XML/Parser.pm in @INC" Message-ID: <20161108160028.itnzzfiemvib7hh3@box-hlm-03.niklaas.eu> Reply-To: stdin@niklaas.eu Mail-Followup-To: freebsd-questions@freebsd.org References: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu> <20161108153755.GA8641@lime.woodcruft.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161108153755.GA8641@lime.woodcruft.co.uk> User-Agent: NeoMutt/20161003 (1.7.0) 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: Tue, 08 Nov 2016 16:00:31 -0000 Frank Shute [2016-11-08 15:37 +0000] : > I'm guessing you probably didn't see the instructions in /usr/ports/UPDATING > about upgrading perl to 5.24 so you've ended up with 2 versions of Parser and > 2 versions of perl. In UPDATING it says: 20161103: AFFECTS: users of lang/perl5* AUTHOR: mat@FreeBSD.org The default Perl version has been switched to Perl 5.24. If you are using binary packages to upgrade your system, you do not have anything to do, pkg upgrade will do the right thing. For the other people, assuming you are migrating from 5.20 to 5.24, do: First, add to /etc/make.conf: DEFAULT_VERSIONS+= perl5=5.24 Portupgrade users: portupgrade -o lang/perl5.24 -f lang/perl5.20 You can now remove the DEFAULT_VERSIONS line added earlier from /etc/make.conf Then you will need to rebuild everything that uses libperl.so, you can do so with: portupgrade -f `pkg shlib -qR libperl.so.5.20` Portmaster users: portmaster -o lang/perl5.24 lang/perl5.20 You can now remove the DEFAULT_VERSIONS line added earlier from /etc/make.conf Then you will need to rebuild everything that uses libperl.so, you can do so with: portmaster -f `pkg shlib -qR libperl.so.5.20` Since I'm using binary packages, I thought I "do not have anything to do". :-) While I build some packages with poudriere, perl is one of those that I get from the official repository: $ pkg info perl5 | grep repository repository : FreeBSD $ pkg info perl5.24 | grep repository repository : FreeBSD So, still, I don't need to do anything, do I? Niklaas