bug-make
[Top][All Lists]
Advanced

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

Re: Reader error on use of ifeq conditional


From: Paul D. Smith
Subject: Re: Reader error on use of ifeq conditional
Date: Fri, 1 Feb 2002 14:10:50 -0500

%% Ashwani Wason <address@hidden> writes:

  aw> I get the following error on using gnu make version

  aw> "GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
  aw> Built for sparc-sun-solaris2.8"

No, you don't :).

  aw> make: Fatal error in reader: Makefile, line 30: unexpected end of line 
seen

This error message is not generated by GNU make.  GNU make error
messages _all_ have a common syntax and format, and this isn't it.

I suspect that this message is being generated by Sun's make.

  aw> The trouble is that the makefile works alright for Linux.

That's because GNU make is the only make on almost every Linux system.

  aw> But when it is used on Solaris (SunOS alpha 5.8 Generic_108528-12
  aw> sun4u sparc SUNW,Ultra-250) it works for some people and does not
  aw> for others! I was wondering if there is something in the
  aw> environment variables of a user's shell that causes this. Notably
  aw> the users for which this does not work are using tcsh.

Yes, it's very likely something in the environment variables:
specifically, the PATH variable.

Most likely the people for whom this fails have /usr/ccs/bin on their
PATH before whatever directory in which you have installed GNU make.
So, they're finding Sun's make before GNU make.

-- 
-------------------------------------------------------------------------------
 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]