delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/25/17:47:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20030425214653.13670.qmail@web14801.mail.yahoo.com>
Date: Fri, 25 Apr 2003 14:46:53 -0700 (PDT)
From: Qwer Zxcv <partner4progress AT yahoo DOT com>
Subject: what determines cygwin path?
To: cygwin AT cygwin DOT com
In-Reply-To: <02ad01c30b68$c5c0ff50$78d96f83@pomello>
MIME-Version: 1.0

Qwer Zxcv wrote:
>>> 0 How can I fix one or both of my current configurations?

Max Bowsher wrote:
>> Check if echo/grep exist. 

OK, so I roll back to my old cygwin:

* changed my windows (w2k sp2) path to 

PATH=d:\bin\cygwin\1.3.13-1\bin;d:\bin\cygwin\1.3.13-1\usr\X11R6\bin;d:\bin;C:\WINNT\system32;C:\WINNT;

  etc. The only cygwin references are the two at the front.

* run the shortcut to my old bash

I get the message

> bash: /bin/echo: No such file or directory
> bash: /bin/grep: No such file or directory

But both grep and echo are in /d/bin/cygwin/1.3.13-1/bin/, and run if
I cd there. 'id' also runs from there.

> qwerzxcv AT qwerzxcv /d/bin/cygwin/1.3.13-1/bin
> $ id
> uid=1002(qwerzxcv) gid=513(None)
groups=513(None),544(Administrators),545(Users)

>> Find out why your path is weird.

That's what I'd like to know! so I run 

> qwerzxcv AT qwerzxcv /d/bin/cygwin/1.3.13-1/bin
> $ cygcheck -svr
> Cygwin Win95/NT Configuration Diagnostics
> Current System Time: Fri Apr 25 17:33:58 2003

> Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

> Path:   D:\bin\cygwin\1.3.22-1\usr\local\bin
>         D:\bin\cygwin\1.3.22-1\bin
>         d:\bin\cygwin\1.3.10\bin
>         D:\bin\cygwin\1.3.22-1\usr\X11R6\bin
>         D:\bin\cygwin\1.3.22-1\bin
>         c:\WINNT\system32
>         c:\WINNT
>         c:\WINNT\System32\Wbem
>         g:\bin\cmvc\1.7\CMVC\EXE
>         .
> `id' program not found

which is completely wrong. So what I'd like to know is, how is
cygwin's path determined? (Apparently not entirely by the windows
path, at least not by default.) And how do I fix it?

>> Also please note: I'd appreciate it if you could reply directly to
>> me, as well as to the list. I'm on the digest, to avoid flooding my
>> inbox, but I'd like to get this problem fixed ASAP, without waiting
>> for the digest. I have some scripts I need to run, in order to get
>> "real work" done, but for now I'm "dead in the water" :-(


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

--
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/

- Raw text -


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