Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Dave Korn" To: Subject: RE: More on 'setup' fails and breaks pre-existing Cygwin installation: now have prompt, but it's ultra-high-response time. Date: Mon, 22 Mar 2004 14:19:25 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 22 Mar 2004 14:19:26.0031 (UTC) FILETIME=[AE27A5F0:01C41018] > -----Original Message----- > From: cygwin-owner On Behalf Of Igor Pechtchanski > Sent: 22 March 2004 13:39 > On Sun, 21 Mar 2004, Christopher M. Balz wrote: > > I did run > > > > "c:\cygwin\bin\bash --norc" > > > > After a couple minutes the command prompt gave me: > > > > C:\WINNT\SYSTEM32>c:\cygwin\bin\bash --norc > > bash-2.05b$ > > > > This command prompt cannot find any commands ('ls' is 'not found'). > > Please re-read the message below. It says that "you'll need > to explicitly prepend "/bin:/usr/bin:/usr/X11R6/bin" to your > PATH before you'll be able to run any commands". I notice also that there are already directories in Christopher's path called 'bin', 'x11', and 'mksnt'. [ Light bulbs should be appearing in the air above heads about now, upon seeing the dreaded letters 'm', 'k' and 's' in that particular order..... ] This last one in particular makes me wonder if the Rational tools you have installed maybe include or are based around the Mortice Kern Systems Unix toolset. It's a well-known problem that if you try and run cygwin while having MKS tools in the $PATH they can sometimes clash. I'd want to start a dos command shell, then remove all the crud and set a minimal $PATH, and try again: something like this at the command prompt might work... ---snip--- cd C:\cygwin PATH C:\WinNT\system32;C:\WinNT;C:\WinNT\system32\Wbem bash --login -i ---snip--- > Hmm... I suspect that it takes this long to determine the > hostname of your machine. Did you notice that it's the same as his $LOGONSERVER? It shouldn't take that long to look up a hostname when you're logged on directly at the keyboard of the domain controller. But of all the environment variables, I think this is the one that's doing the most damage: ---snip from cygcheck.out--- SHELL = `C:\PROGRA~1\RATIONAL\RATION~1\NUTCROOT\mksnt\sh.exe' ---snip--- Ouch. So everytime Cygwin bash tries to fork a subprocess, it launches it using MKS sh. No wonder it loses! ---snip from cygcheck.out--- TERM = `nutc' ---snip--- Wouldn't have thought cygwin would make much sense of that either. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/