Subject: Re: DHCP compilation problems (1.5.2+)
To: Derrell Piper <ddp@Electric-Loft.ORG>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-users
Date: 10/03/2001 13:19:35
On Wed, 3 Oct 2001, Derrell Piper wrote:

> I've been keeping current with 'cvs update -r netbsd-1-5' for quite a
> while.  After the 1.5.2 release a couple of weeks ago, I picked up
> something relating to DHCP that's broken userland compiles:

You must use the "-d" option to create any new directories; you should
also use "-P" to remove empty ones. You can set and forget both of
them via

echo "update -P -d" >> ~/.cvsrc

> % make cleandir
> 	 .
> 	 .
> 	 .
> rm -f .depend /usr/src/usr.sbin/dhcp/omapip/tags
> cleandir ===> usr.sbin/dhcp/clientscript
> cd: can't cd to /usr/src/usr.sbin/dhcp/clientscript
> *** Error code 2
>
> I'm NetBSD build-proficient only to the extent that I know how to type
> "make UPDATE=1 build".  :-)

"UPDATE=1" is not usually a good idea unless you're doing repeated
builds for some reason. In the long run, you're bound to end with crud
in your build tree that shouldn't be there.

Frederick