Subject: pkg/4574: package system doesn't work out-of-the-box.
To: None <>
From: Christian E. Hopps <>
List: netbsd-bugs
Date: 11/25/1997 09:41:16
>Number:         4574
>Category:       pkg
>Synopsis:       package system doesn't work out-of-the-box.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 25 06:50:02 1997
>Originator:     Christian E. Hopps
>Release:        NetBSD-1.3
System: NetBSD 1.3_ALPHA NetBSD 1.3_ALPHA (TANG) #7: Fri Nov 14 06:58:27 PST 1997 i386


	Root doesn't have /usr/pkg/bin in its path.  Therefore when
	building a package which builds another package the system
	fails as the dependent package tries to use the newly installed
	package and it fails to find the binary.


	Don't add /usr/pkg/bin to your path and try and build packages
	that require other packages (e.g. gmake).

	I think the appropriate fix is to add /usr/pkg/bin
	(and /usr/pkg/sbin) to the root path.  Failing that
	documenting the fact that it needs to be setup.