Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2016 15:49:14 +0000
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: After perl upgrade: "Can't locate XML/Parser.pm in @INC"
Message-ID:  <8d178a83-f0e1-687d-dd6c-ef50239287b7@FreeBSD.org>
In-Reply-To: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu>
References:  <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--hVGWv2IASI294vwFho9J5VBu4C2iMW1qC
Content-Type: multipart/mixed; boundary="On60vcawcxJtnqtSQ0h2XpGi6SQhSCBj6";
 protected-headers="v1"
From: Matthew Seaman <matthew@FreeBSD.org>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8d178a83-f0e1-687d-dd6c-ef50239287b7>