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)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to