Date: Mon, 9 Sep 2002 00:18:19 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Craig Rodrigues <rodrigc@attbi.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: make installworld cannot find files in /usr/bin Message-ID: <20020909001128.E3205-100000@gamplex.bde.org> In-Reply-To: <20020907230246.A535@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Sep 2002, Craig Rodrigues wrote: > I did a cvsup from a few hours ago, and rebuilt the world. > make buildworld worked fine. > > make installworld failed: > ===> usr.sbin/ppp^M > install -s -o root -g network -m 4554 ppp /usr/sbin > m4 /usr/src/usr.sbin/ppp/ppp.8.m4 >ppp.8 > m4: not found > > I also had similar problems in /usr/src/share/termcap, because > the Makefile there could not find /usr/bin/cap_mkdb and > /usr/bin/ex. > > I worked around the problem by replacing references > to m4, cap_mkdb, and ex > in /usr/src/usr.sbin/ppp/Makefile and /usr/src/share/termcap/Makefile > with fully qualified path names. > > Any ideas what could cause this? Some local problem with timestamps, together with a bug in bsd.files.mk (it uses a hack to create dependencies, and this results in things being rebuilt at install time if something is out of date; building things at install times is an error and the error happens to be detected because some utilities needed for building are not in $PATH). > My environment has /usr/bin in its PATH. Also, if I manually > cd to either of those directories and do: make install, then > it finds the programs in /usr/bin with no problem. The error is not detected in this case because there are too many utilities in $PATH. Building at install time would still fail if the relevant obj directories are not writable. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020909001128.E3205-100000>