Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2000 22:43:51 +0200
From:      Stijn Hoop <stijn@win.tue.nl>
To:        David Daugherty <davidd@datasphereweb.com>
Cc:        questions@freebsd.org
Subject:   Re: Error in Make file
Message-ID:  <20000909224351.A76921@pcwin002.win.tue.nl>
In-Reply-To: <Pine.BSF.4.21.0009091231290.28480-100000@datasphereweb.com>; from davidd@datasphereweb.com on Sat, Sep 09, 2000 at 12:38:37PM -0700
References:  <Pine.BSF.4.21.0009091231290.28480-100000@datasphereweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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