From owner-freebsd-questions@freebsd.org Tue Nov 8 15:49:28 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 09563C36A4B for ; Tue, 8 Nov 2016 15:49:28 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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 95592FB4 for ; Tue, 8 Nov 2016 15:49:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from zero-gravitas.local (unknown [85.199.232.226]) (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 2AB482556 for ; Tue, 8 Nov 2016 15:49:22 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/2AB482556; dkim=none; dkim-atps=neutral Subject: Re: After perl upgrade: "Can't locate XML/Parser.pm in @INC" To: freebsd-questions@freebsd.org References: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu> From: Matthew Seaman Message-ID: <8d178a83-f0e1-687d-dd6c-ef50239287b7@FreeBSD.org> Date: Tue, 8 Nov 2016 15:49:14 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hVGWv2IASI294vwFho9J5VBu4C2iMW1qC" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk 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 15:49:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hVGWv2IASI294vwFho9J5VBu4C2iMW1qC Content-Type: multipart/mixed; boundary="On60vcawcxJtnqtSQ0h2XpGi6SQhSCBj6"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <8d178a83-f0e1-687d-dd6c-ef50239287b7@FreeBSD.org> Subject: Re: After perl upgrade: "Can't locate XML/Parser.pm in @INC" References: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu> In-Reply-To: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu> --On60vcawcxJtnqtSQ0h2XpGi6SQhSCBj6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016/11/08 15:27, Niklaas Baudet von Gersdorff via freebsd-questions wrote: > $ pkg info | grep ^perl >=20 > perl5-5.20.3_15 Practical Extraction and Report Langua= ge > perl5.24-5.24.1.r4 Practical Extraction and Report Langua= ge >=20 > Did I miss something when upgrading perl? You seem to have two different version of perl installed simultaneously. Also, after the switch to 5.24 as the default version, your perl package should be named perl5-5.24.1.r4 What version does ```perl -v``` return with? If it's perl-5.20 then, correct, there is no XML::Parser available, as that has been installed in a perl-5.24 specific subdirectory of ${PERL5LIB} If it's perl-5.24 that you want I suggest: # pkg delete -f perl5-5.20.3_15 perl5.24-5.24.1.r4 # pkg install perl5 Assuming you're using the latest pre-compiled packages (and not the ones from the quarterly branch which still have 5.20 as the default version.) Or build and install a new perl-5.24 package. It's important to re-install perl 5.24 as removing perl5-5.20 may have removed some important files from the existing 5.24 package. Cheers, Matthew --On60vcawcxJtnqtSQ0h2XpGi6SQhSCBj6-- --hVGWv2IASI294vwFho9J5VBu4C2iMW1qC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQJ8BAEBCgBmBQJYIfQBXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnKHEQAIMA3CN3Xp0fQYWp0kcthZGW EojPkwBL48ZvYSJqyBSGDbR47MtHL39Oox886R9vcEZj/TSHQkL8JlNPQJbY4Dn2 GPNc82MBZYX619eHdbiGfP2/kYsLp+gARidNhvIpb1cF474QlealzzFgTOo5giMt C6T0LJFP/t7bDVazmW5n5v84Fxr3XbTQuI+I2yXq7IG0nLRiegA0Jy4TOABVNFuS t2Ep/44BtS0Zdfi/51zALsW/slsExn/1jrMUqzxjhNjErbPy9GQ8SS50Os5EnmKJ 5KJafKzyyz3PtI3YdTWSXE80Mi3KmaI7pUuc7UTuRqZf4jsF1VZqLf/CHcD0b9uG mi062hsjKB7cLx+5dEa1BIjCSmRlsfnIEKbUcJqqutcQ1QY0eOTP5n5Yg7fnSzKz rBHkyaBov877I7s6GCQ4s8sqB9kHT3X0T4rsp+HgwxtKmqCb2ozcqJM4zSQbzzBT hxo3sJbSOP4CmdFzRAlkQe2MaEAjUAhMMgTjjlr7BrJEMHzsfBe0J4UJsUq6jTuF o7uw/s5GaiegyJmgyyedTEiduw1UC6wjYPdVh1ssVFMbjlQyZiSWpy8TDac5DPsi nkPf7S5h1/08zzs+iPq/pl4kk0qkVzRDeuOgvizne/EzVI5RS+xLyF22GDpke9lm 8mkmcaTOSrGz0y9ZIixV =LE4Y -----END PGP SIGNATURE----- --hVGWv2IASI294vwFho9J5VBu4C2iMW1qC--