help-make
[Top][All Lists]
Advanced

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

RE: 'Unexpected end of line seen' error while building CSSL using GNU ma


From: Swaroop Sugunan
Subject: RE: 'Unexpected end of line seen' error while building CSSL using GNU make.
Date: Thu, 5 Apr 2007 05:34:13 +0530

Hi,
 
We have tried by installing the gmake as given in the "INSTALL" file. Steps followed are
 ./configure
  make
  make install
 
This installed the gmake. We could see the newly installed gmake in the path which was automatically added.
 
echo $PATH gives the following
 
bash-3.00# echo $PATH
/usr/local/bin:/export/meta/Atlas/v4.0//unixshared/bin/solarisx64:/usr/ccs/bin:/export/Sunstudio/SUNWspro/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ucb
bash-3.00# which make
/usr/local/bin/make

 
Initially "which make" gave the path as "/usr/ccs/bin/make" which is the Solaris make that comes with the Solaris 10 x86 installation.
 
So I think for that particular build statement uses the gmake itself. However, one thing is which I noticed is that that path persists per session only. i.e, when I open a new terminal these path doesn't exist.
 
We were trying to build from "bash" and were getting the error mentioned below. However, when we tried running the build command from "sh" then it works ok for that part of the code. Could you please tell us why it worked in "sh" and not in "bash"?
 
 
Regards,
Swaroop




> Subject: Re: 'Unexpected end of line seen' error while building CSSL using GNU make.
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Date: Wed, 4 Apr 2007 19:33:48 -0400
>
> On Thu, 2007-04-05 at 03:11 +0530, Swaroop Sugunan wrote:
> > # /export/meta/make3.79.1/make-3.79.1/make nodeps:=yes 64bit:=yes product
> > make nodeps:=yes prd
> > make: Fatal error in reader: Makefile, line 12: Unexpected end of line seen
>
> Greg is exactly right.
>
> This message is not being emitted by GNU make; all GNU make errors have
> identical format, with "***" in the message.
>
> He's also right about the cause: your makefile is invoking a recursive
> make, and it's running "make" directly rather than using the "$(MAKE)"
> variable, so you're getting whatever "make" happens to be on your PATH
> rather than the one you invoked from the command line.
>
> He missed it, but it's clear from second line in the above snippet that
> your makefile IS invoking another make, and that it's just "make" and
> not "/export/meta/make3.79.1/make-3.79.1-make"
>
> --
> -------------------------------------------------------------------------------
> Paul D. Smith <address@hidden> Find some GNU make tips at:
> http://www.gnu.org http://make.paulandlesley.org
> "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



Get the new Windows Live Messenger! Try it!
reply via email to

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