From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 20:59:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA90116A417 for ; Thu, 26 Jul 2007 20:59:17 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.org.ru [194.186.18.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2A013C4A6 for ; Thu, 26 Jul 2007 20:59:16 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (yuri@darklight.org.ru [127.0.0.1]) by darklight.org.ru (8.14.1/8.14.1) with ESMTP id l6QKx7ap015010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jul 2007 00:59:13 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.14.1/8.14.1/Submit) id l6QKx6XA015009; Fri, 27 Jul 2007 00:59:06 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Fri, 27 Jul 2007 00:59:06 +0400 From: Yuri Pankov To: Dima Sorkin Message-ID: <20070726205906.GA10992@darklight.org.ru> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-3.0 (darklight.org.ru [127.0.0.1]); Fri, 27 Jul 2007 00:59:13 +0400 (MSD) Cc: freebsd-questions@freebsd.org Subject: Re: make and gmake on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 20:59:17 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jul 26, 2007 at 11:26:28PM +0300, Dima Sorkin wrote: > Hi. > I have a FreeBSD 6.2, installed it from the distribution disks, no > changes by me. > > There is a "make" and a "gmake" installed on it. They report that they > are the same programm, but in fact they behave completely different. > In fact only "gmake" behaves > like "GNU make" should behave and only with "gmake" > I succeed to build serious projects. > > What happens here ? What I the "make", where did it come from ? > > How do I cause to system "make" behave as "gmake" ? > > Thanks, regards, > Dima. > > P.S. see their output: > [dsorkin@eml5 /usr/home/dsorkin]$ make --version > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i386-portbld-freebsd6.2 > [dsorkin@eml5 /usr/home/dsorkin]$ gmake --version > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i386-portbld-freebsd6.2 > [dsorkin@eml5 /usr/home/dsorkin]$ which make > /usr/bin/make > [dsorkin@eml5 /usr/home/dsorkin]$ which gmake > /usr/local/bin/gmake > [dsorkin@eml5 /usr/home/dsorkin]$ diff /usr/bin/make /usr/local/bin/gmake > Binary files /usr/bin/make and /usr/local/bin/gmake differ > [dsorkin@eml5 /usr/home/dsorkin]$ Don't you have shell alias make -> gmake, by chance? Try running system make using full path. Yuri --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBGqQsaeoAklVFrLdgRAkCZAJ9AHBTxnlJssGeNFvazajE9UOQuvwCdE691 R1X1cNz9nz/jflZxa4IZagk= =Edfi -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv--