*BSD News Article 68685


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Midnight Commander / Makefile error.. Help!
Date: 16 May 1996 12:32:30 GMT
Organization: Private BSD site, Dresden
Lines: 34
Message-ID: <4nf78u$22s@uriah.heep.sax.de>
References: <3199C99D.56F@mainelink.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Gary Chrysler <tcg@mainelink.net> wrote:

> The error:
> 	"Makefile", line 9: Need an operator
> 	Fatal errors encountered -- cannot continue
> 	*** Error code 1

Pickyness of BSD make.

> And the Makefile, Cut down to size.. :)
>   # Generated automatically from Makefile.in by configure.
>   srcdir = .
> 
>   rootdir = $(srcdir)
> 
>   VERSION=3.1.12
>   SHELL = /bin/sh
> 

I bet your original Makefile had a sole tab in the line just above.
This case has been argued about (and the -current make(1) is more
benign).

You can simply remove the tab, and should be going.

GNU configure is known to cause these Makefiles.  They never notice
it since GNU make doesn't complain about them.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)