bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make bug ?


From: Paul D. Smith
Subject: Re: Make bug ?
Date: Wed, 2 May 2001 13:13:19 -0400

%% Luke <address@hidden> writes:

  l> I'm still a new guy to linux, but whenever i try to 'make' a file,
  l> eg 'Make install' I get the error "Makefile:3:: *** missing
  l> separator.  Stop."

There's a section in the GNU make manual on error messages which will
explain it.

This is GNU make's generic "syntax error" message.  However, 95% of the
time it's because you're using spaces instead of a TAB character when
indenting command scripts; in a command like this:

all:
        @echo foo

The indentation of the second line _MUST_ be a TAB, not any kind of
whitespace.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



reply via email to

[Prev in Thread] Current Thread [Next in Thread]