Subject: Re: Package registration
To: None <current-users@netbsd.org>
From: Julio Merino <juli@merino.net>
List: current-users
Date: 12/28/2001 21:08:14
--cNdxnHkX5QqsyA0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 28, 2001 at 09:00:46PM +0100, Alistair Crooks wrote:
> On Fri, Dec 28, 2001 at 08:31:53PM +0100, Julio Merino wrote:
> > Hi all
> >=20
> > I've noticed a problem with pkgsrc that I don't know if it is -current
> > related or not.
> >=20
> > I go to /usr/pkgsrc/chat/gaim (for example) and when issuing the make
> > build, it compiles some of dependancies. Fine. But after installing this
> > package I issue a: pkg_info and all compiled dependencies are not there!
> > They are installed as I see the libraries in their place, but packages
> > are not registered... What happens??
>=20
> Perhaps your value of PKG_DBDIR is set in /etc/mk.conf, but not in your
> environment, so that when you issue a "pkg_info" command, it's not looking
> in the right directory.

That variable is unset... And /var/db/pkg contains some package information.
Some programs are registered but some others don't. Should I set that
variable explicetly in /etc/mk.conf?
PKG_DBDIR=3D/var/db/pkg <- Should I put this?

Thanks!

>=20
> Regards,
> Alistair

--=20
La ignorancia es la felicidad.

Julio Merino (Slink) <juli@merino.net>

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8LNEuzz00ZOPKycwRAlxdAJ48ShhuGXjs93pdqIwgSn8LQ2Hh0gCfQfgB
dx7yEdSvalx+j7yD6xY0BhA=
=dYKE
-----END PGP SIGNATURE-----

--cNdxnHkX5QqsyA0e--