From owner-freebsd-questions@FreeBSD.ORG Thu May 12 23:23:29 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20CB516A4CE for ; Thu, 12 May 2005 23:23:29 +0000 (GMT) Received: from pd4mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1B6743D72 for ; Thu, 12 May 2005 23:23:28 +0000 (GMT) (envelope-from probertm@acm.org) Received: from pd2mr7so.prod.shaw.ca (pd2mr7so-qfe3.prod.shaw.ca [10.0.141.10])2004))freebsd-questions@freebsd.org; Thu, 12 May 2005 17:22:57 -0600 (MDT) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd2mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IGE009B8GY8I520@pd2mr7so.prod.shaw.ca> for freebsd-questions@freebsd.org; Thu, 12 May 2005 17:22:56 -0600 (MDT) Received: from kant.archsys.net (S010600065be1a310.gv.shawcable.net [24.108.68.44]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with ESMTP id <0IGE0088QGY87R@l-daemon> for freebsd-questions@freebsd.org; Thu, 12 May 2005 17:22:56 -0600 (MDT) Date: Thu, 12 May 2005 16:23:29 -0700 From: Mark Probert In-reply-to: <200505121347.33797.probertm@acm.org> To: freebsd-questions@freebsd.org Message-id: <200505121623.29720.probertm@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <200505121347.33797.probertm@acm.org> User-Agent: KMail/1.7 Subject: Re: /usr/src make problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2005 23:23:29 -0000 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)