Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Lotus-FromDomain: JPMORGAN AT SMTP From: "Noel L Yap" To: rmw AT fractalgraphics DOT com DOT au cc: Cygwin AT Sourceware DOT Cygnus DOT Com Message-ID: <8525692F.004C584F.00@nyc-ntgw-n01.ny.jpmorgan.com> Date: Wed, 2 Aug 2000 09:52:06 -0400 Subject: RE: Shell spawning and environment problem on W2K Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline I now have PATH=/bin:~/bin:/usr/local/bin:/bin:/bin/i686-pc-cygwin32://c/NTRESKIT://c/Program Files/Rational/common://c/Program Files/Rational/ClearCase/bin://c/WINNT/system32 and my recursive scripts still doesn't work. Have you tried moving /bin back to where it was and retrying the build to see if it still works? Noel rmw AT fractalgraphics DOT com DOT au on 2000.08.02 07:59:40 To: cygwin AT sourceware DOT cygnus DOT com cc: (bcc: Noel L Yap) 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 This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its subsidiaries and affiliates. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com