Subject: Re: perl modules need better, non-open dependencies
To: Jeremy C. Reed <reed@reedmedia.net>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 04/10/2004 12:19:26
--KrHCbChajFcK0yQE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 09, 2004 at 12:16:50PM -0700, Jeremy C. Reed wrote:

> reed@puget:/usr/pkgsrc/new/inkspace$ perl -e "require XML::Parser"
> Can't locate XML/Parser.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.3/i386-linux /usr/lib/perl5/site_perl/5.8.3
> /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl
> /usr/lib/perl5/5.8.3/i386-linux /usr/lib/perl5/5.8.3 .) at -e line 1.

what planet is your perl installation on if it's looking in both 5.8.3
*and* 5.6.1 directories? that certainly doesn't seem right.

> I have: p5-XML-Parser-2.31nb1 it is installed to
> /usr/lib/perl5/site_perl/5.6.1/i386-linux/XML/Parser.pm
>=20
> But the requirements say perl>=3D5.0
>=20
> Maybe this is wrong:
>=20
> BUILDLINK_DEPENDS.perl+=3D        perl>=3D${_PERL5_REQD}
>=20
>=20
> Or maybe the default @INC should add other directories?

I've never seen this and I use perl modules from pkgsrc every day on
Linux and NetBSD. I think your build is screwed somehow.

grant.


--KrHCbChajFcK0yQE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAd1muluYOb9yiFXoRAqhEAJ9Ex3N6pikHVwAZFCvfaAeEj2N+MACbBMis
m24bORU+RfhUVsiiZKKyVaY=
=GIpX
-----END PGP SIGNATURE-----

--KrHCbChajFcK0yQE--