Subject: Re: build prob
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 07/01/2005 17:21:43
On Fri, Jul 01, 2005 at 04:54:16PM +0100, Patrick Welche wrote:
> For some reason I can't build tools/file.
> 
> So far, with code from a few minutes ago, build.sh fails with
> 
> config.status: executing depfiles commands
> make: don't know how to make all. Stop
> 
> in src/tools/file.
> 
> Going into that directory, a make dependall succeeded.
> I rebuilt make (the system make was from 24th June) and installed it.
> Tried going into src/tools/file and rebuilding with the new make -> same
> failure as with build.sh.

newfs /usr/obj and remount
find . -name obj.i386 -printx | xargs rm
/etc/mk.conf contains:
  LOCALBASE=/usr/local
  MKKERBEROS=no
  OBJMACHINE=yes
  MKOBJDIRS=yes
  MKUPDATE=yes
build.sh fails with

--- install-host-mkdep ---
cp: host-mkdep: No such file or directory
*** [/usr/src/obj.i386/tooldir.NetBSD-3.99.7-i386/bin/nbhost-mkdep] Error code 1
1 error

probably because host-mkdep is in src/tools/host-mkdep rather than in
src/tools/host-mkdep/obj.i386 which is empty.

Cheers,

Patrick