delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/02/04:35:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <B0014532833@mzdy17.allegro.net>
From: "Fleischer, Karsten (K.)" <kfleisc1 AT ford DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: Shell spawning and environment problem on W2K
Date: Wed, 2 Aug 2000 04:34:07 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2651.58)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id EAA29713

I have a problem with gmake and SHELL, too.
In the makefile the first two lines are

SHELL=/bin/sh
export TIME := $(shell date '+%T')

Following are more invocations of $(shell ...).
For each $(shell ...) statements, gmake outputs strange characters like
"h£a" to the window.
When I comment out the first line everything works fine.

Any ideas?

Karsten

-----Original Message-----
From: RobertWoodcock [mailto:rmw AT fractalgraphics DOT com DOT au]
Sent: Mittwoch, 2. August 2000 13:40
To: 'cygwin AT sourceware DOT cygnus DOT com'
Subject: RE: Shell spawning and environment problem on W2K



Hi All,

Solved. The remaining problem was with the config in our makefile. I 
changed something and forgot <embarrassed look>. So it all works now. Time 
to get make to run multiple jobs so I can use these two processors on this 
new machine, now how do you do that....

TTFN

Rob

-----Original Message-----
From:	RobertWoodcock [SMTP:rmw AT fractalgraphics DOT com DOT au]
Sent:	Wednesday, 2 August 2000 8:00 PM
To:	'cygwin AT sourceware DOT cygnus DOT com'
Subject:	RE: Shell spawning and environment problem on W2K

Hi All,

Okay a bit further along now. Turns out the build script was adding to the
PATH environment variable so that /bin and /usr/bin were no longer first
(third and fourth respectively). Why this made sh.exe a not found I do not
know but there you go.

The second problem with the INCLUDE path environment variable going AWOL is 
still kicking around. I'll hunt some more, maybe this is just my new config 
and I hadn't notice a few minor changes....

Rob

-----Original Message-----
From:	RobertWoodcock [SMTP:rmw AT fractalgraphics DOT com DOT au]
Sent:	Wednesday, 2 August 2000 7:28 PM
To:	'cygwin AT sourceware DOT cygnus DOT com'
Subject:	Shell spawning and environment problem on W2K

Hi All,

The following doesn't work:

$ make
make: sh.exe: Command not found
make: *** [all] Error 127

The following does sort of:
$ make SHELL=/bin/sh

[ all ] fracviewer-dep
make[1]: Entering directory `/cygdrive/f/bmw/Dev/ft'
cd FracViewer; make fast-dep
make[2]: Entering directory `/cygdrive/f/bmw/Dev/ft/FracViewer'
[snip]

The problem with this version is the environment variables for various
include paths are EMPTY in the build but are defined in the original shell. 
It would appear that environment variables are not being passed to the
other processes spawned by make (????).

I've checked the list archive and it seems others have similar problems
with sh in June, July and August. I have just finished re-installing the
latest version from my local mirror, same problem. Unfortunately a solution 
was not posted.

What makes it even weirder is I have w2k on two machines. One exhibits the
problem with either an older release or the latest one. The other has the
older release and works fine (I dare not change it to the newer release at
the moment).

Anyone have a clue what's going on?

Rob

--
Robert Woodcock
R&D Manager
Fractal Graphics
39 Fairway
Nedlands
Western Australia 6009
Phone: +61 8 9386 7917
Fax: + 61 8 9386 2460
rmw AT fractalgraphics DOT com DOT au



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com





--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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