Subject: Re: Make obj/build problems
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Alexander Nazarenko <sasha@ldc.net>
List: current-users
Date: 07/24/2000 07:06:08
On Sun, 23 Jul 2000, Bill Sommerfeld wrote:
> > 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?
I build on 1.4.2/i386 release, and try to build current...
What's about share/mk, do i need to copy /usr/src/share/mk to
/usr/share/mk? And what's next to do? I wanted to rebuild only ftpd with
patches, but when i try cd /usr/src/libexec/ftpd; make i had some errors,
it was 1.4.2-release sources on 1.4.2-release, so now i decided to rebuild
all system to current.
>
> -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
>