Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 16:23:29 -0700
From:      Mark Probert <probertm@acm.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: /usr/src make problem
Message-ID:  <200505121623.29720.probertm@acm.org>
In-Reply-To: <200505121347.33797.probertm@acm.org>
References:  <200505121347.33797.probertm@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi .. 

 On Thursday 12 May 2005 13:47, Mark Probert wrote:
> Hi ..
>
> I have just updated my source tree, gone into /usr/src, and have the
> following error:
>
> kant# make -j4 buildworld
> Makefile:92: *** missing separator.  Stop.
>
(Many thanks to csghost for the help.)

Just to record the solution, here is how to fix this problem.

The issue is that GNU make is being called rather than /usr/bin/make.  On my 
system (5.3-RELEASE), GNU make had blown away /usr/bin/make and replaced it 
with a symlink to /usr/local/bin/gmake.  (I guess this happened when I did a 
"pkg_add -r gmake".  Perhaps this should be reported as a "bug" ... )

The way around this is to rebuild make.  Its source is 
in /usr/src/usr.bin/make.  Unfortunately, the makefile will not build with 
gmake.  Fortunately, there is another make in the system, /usr/bin/umake.  
You can use this version of make to remake /usr/bin/make.  

So,

 # cd /usr/src/usr.bin/make
 # umake
 # cp make /usr/bin/make
 # cd /usr/bin
 # make -j4 buildworld

Regards,

-- 
-mark.  (probertm at acm dot org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505121623.29720.probertm>