Subject: Re: Make obj/build problems
To: Alexander Nazarenko <sasha@ldc.net>
From: James Chacon <jchacon@genuity.net>
List: current-users
Date: 07/24/2000 03:47:51
Make sure at least the following are done:

current make is installed/built
share/mk is up to date

If you're running a very old release make sure all the toolchain parts
are up to date as well. 

What you referred to is generally fixed by simply making sure the first 2
things are done.

James

>
>
>
>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
>> 
>
>
>
>
>