Subject: Re: problem in etc/Makefile ?
To: Evgeni Belin <ebelin@genuity.com>
From: George Coulouris <george@coulouris.org>
List: current-users
Date: 10/31/2001 12:55:45
On Wed, Oct 31, 2001 at 12:05:39PM -0500, Evgeni Belin wrote:
> > bfd.h: No such file or directory
> > *** Error code 1
> 
> try this in /etc/mk.conf:
> 
> MKTOOLS=always
> 
> -Evgeni
> 

Strangely, explicitly specifying USE_NEW_TOOLCHAIN=yes and USETOOLS=yes made
that problem go away. I was under the impression that both of these were
now the default.

Just for good measure, I did a make MKTOOLS=always release. It built tools,
cleandir, includes, but now dies during the dependall of libc. Even tried
nuking the obj dir and cleaning the lib/libc subtree.

... lots of missing includes snipped...
/usr/src/lib/libc/yp/yperr_string.c:43: rpcsvc/ypclnt.h: No such file or
directory
/usr/src/lib/libc/yp/ypprot_err.c:41: rpcsvc/yp_prot.h: No such file or
directory
/usr/src/lib/libc/yp/ypprot_err.c:42: rpcsvc/ypclnt.h: No such file or
directory
/usr/tooldir/bin/mkdep: compile failed.
*** Error code 1

Stop.
make: stopped in /usr/src/lib/libc
*** Error code 1

cat /etc/mk.conf

USE_NEW_TOOLCHAIN=yes
USETOOLS=yes
TOOLDIR=/usr/tooldir
RELEASEDIR=/usr/release
DESTDIR=/usr/destdir
MKTOOLS=yes