Shell spawning and environment problem on W2K
Axelsson, Andreas
axl@dice.se
Wed Aug 2 01:38:00 GMT 2000
make is case sensitive, you should use ${SHELL} not ${shell}
/axl
> -----Original Message-----
> From: Fleischer, Karsten (K.) [ mailto:kfleisc1@ford.com ]
> Sent: Wednesday, August 02, 2000 10:34 AM
> To: 'cygwin@sourceware.cygnus.com'
> Subject: RE: Shell spawning and environment problem on W2K
>
>
> 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@fractalgraphics.com.au ]
> Sent: Mittwoch, 2. August 2000 13:40
> To: 'cygwin@sourceware.cygnus.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@fractalgraphics.com.au]
> Sent: Wednesday, 2 August 2000 8:00 PM
> To: 'cygwin@sourceware.cygnus.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@fractalgraphics.com.au]
> Sent: Wednesday, 2 August 2000 7:28 PM
> To: 'cygwin@sourceware.cygnus.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@fractalgraphics.com.au
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
>
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list