delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/14/22:49:10

From: weiqigao AT crl DOT com ("Weiqi Gao")
Subject: Re: Errors involving End Of Data (<<EOF) constructs
14 Nov 1996 22:49:10 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199611150349.AA13991.cygnus.gnu-win32@mail.crl.com>
Mime-Version: 1.0
Original-To: <gnu-win32 AT cygnus DOT com>
X-Msmail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1155
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Make sure you have a /tmp directory.  Sounds like the script is trying to
write a temporary file.

--
Weiqi Gao
weiqigao AT crl DOT com

----------
From: Tim Endres <time AT ice DOT com>
To: gnu-win32 AT cygnus DOT com
Subject: Q: Errors involving End Of Data (<<EOF) constructs
Date: Thursday, November 14, 1996 12:19 AM

When I try to build less-290, and I run configure, I get repeated
complaints about a file not being found (./configure: 12780516: No such
file or directory).

I have tracked this down to the use of the inline data construct to cat
small
C programs into files to be compiled on the fly. This looks something like
the following:

cat > file.c <<EOF
int
main( int argc, char *argv )
	{
	return 0;
	}
EOF

When the shell script hits this line it gives the complaint about not being
able to find the file in question (a name that looks like its a number).

The cygnus site shows that someone has successfully compiled less-290, so
someone must have run into this?

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
----------

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019