From owner-freebsd-questions Sat Sep 9 13:43:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id DE39237B42C for ; Sat, 9 Sep 2000 13:43:12 -0700 (PDT) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id ECC685832; Sat, 9 Sep 2000 22:43:51 +0200 (CEST) Date: Sat, 9 Sep 2000 22:43:51 +0200 From: Stijn Hoop To: David Daugherty Cc: questions@freebsd.org Subject: Re: Error in Make file Message-ID: <20000909224351.A76921@pcwin002.win.tue.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from davidd@datasphereweb.com on Sat, Sep 09, 2000 at 12:38:37PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, judging from the parts of the Makefile you posted, you need to use GNU make to compile this, not the BSD make (they understand different syntax makefiles). cd /usr/ports/devel/gmake && make install And then try to compile your app again using 'gmake' instead of 'make'. HTH, --Stijn On Sat, Sep 09, 2000 at 12:38:37PM -0700, David Daugherty wrote: > I'm not sure what is wrong with this Makefile. This is for kphpdevelop > which is a third party app and not in the ports. > > The error I get while running make: > ----------------------------------------------------- > "Makefile", line 424: Need an operator > make: fatal errors encountered -- cannot continue > *** Error code 1 > > Stop in /usr/home/davidd/kphpdev/kphpdev_server_setup_0.158. > *** Error code 1 > > Stop in /usr/home/davidd/kphpdev/kphpdev_server_setup_0.158. > ------------------------------------------------------- > > The relevant block of code in the Makefile is: > ------------------------------------------------------- > 406 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install > 407 installdirs: installdirs-recursive > 408 installdirs-am: > > > 411 mostlyclean-generic: > > 413 clean-generic: > > 415 distclean-generic: > 416 -rm -f Makefile $(CONFIG_CLEAN_FILES) > 417 -rm -f config.cache config.log stamp-h stamp-h[0-9]* > > 419 maintainer-clean-generic: > 420 mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic > > 422 mostlyclean: mostlyclean-recursive > > 424 clean-am: clean-hdr clean-tags clean-generic mostlyclean-am > ------------------------------------------------------- > > I'm just not experienced enough with Makefiles to see any operator missing > on line 424 or any previous line. > > Can anyone else see something missing? > > David Daugherty > david.daugherty@netmanage.com > NetMange - The Bridge to E-Business > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message