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 Message-ID: <01BFFC79.24257460.rmw@fractalgraphics.com.au> From: RobertWoodcock To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: RE: Shell spawning and environment problem on W2K Date: Wed, 2 Aug 2000 11:59:40 -0000 Organization: Fractal Graphics X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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