Subject: Re: Make obj/build problems
To: Alexander Nazarenko <sasha@ldc.net>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: current-users
Date: 07/23/2000 23:58:21
> i have errors
> bash-2.04# make obj
> obj ===> lib
> "/usr/src/lib/../Makefile.inc", line 6: Malformed conditional
> ((${.PARSEDIR} == ${.CURDIR}))
> "/usr/src/lib/../Makefile.inc", line 6: Missing dependency operator
> "/usr/share/mk/bsd.subdir.mk", line 11: if-less endif
> "/usr/share/mk/bsd.subdir.mk", line 11: Need an operator
> Fatal errors encountered -- cannot continue
> *** Error code 1

What version of NetBSD are running the build on?

-current generally needs -current tools to build.

as a first start, try rebuilding & reinstalling make, and then
rebuilding and reinstalling the system makefiles in share/mk, but
you'll run into other things along the way if you're starting from a
previous release.

You'll generally suffer less pain if you install new binary snapshot
and then do a build from that.

					- Bill