delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/29/04:51:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4CF3FD08020000520001711C@groupwise.swin.edu.au>
References: <4CF3FD08020000520001711C AT groupwise DOT swin DOT edu DOT au>
Date: Mon, 29 Nov 2010 09:51:19 +0000
Message-ID: <AANLkTinSo--WSERAqERWBD__K4U2yatzgf0NEgzpxgfv@mail.gmail.com>
Subject: Re: File paths redirected to MSYS directory
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 29 November 2010 08:20, Nathan Rose wrote:
>> You're probably invoking MSYS's versions of vi and make. You can check
>> that with the which command. Ensure that you do have the Cygwin
>> versions of those installed, and that the Cygwin bin directory comes
>> before MSYS's in the Cygwin PATH. To avoid such confusion, you might
>> want to remove MSYS's bin directory from the global Windows path,
>> assuming that's where it came from.
>>
>> Andy
>
> Thanks for your help. I have fixed the Windows path but Cygwin seems to
> be altering it when loading it in to its own $PATH environment variable.
> Compare below, my path as obtained from Windows cmd console and from
> Cygwin. Notice the line 'C:\cygwin\bin' in the first one (end of the second
> line) has been turned in to '/usr/bin' in the second one (end of the third
> line). Why would this be happening? Also, is it a problem that the first two
> entries in the Cygwin path are '/usr/...' rather than '/cygdrive/c/cygwin/usr/...' ?
>
> Windows:
> C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\Wbem;C:\Program Files\Novell\
> ZENworks\;C:\Program Files\QuickTime\QTSystem\;C:\MinGW\bin;C:\cygwin\bin;C:\msy
> s\1.0\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Novell\GroupWise;C:\
> Program Files\Putty;C:\GTK\2.0\bin;C:\Program Files\SSH Communications Security\
> SSH Secure Shell;Z:.;Y:.;
>
> Cygwin:
> /usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/System32:/cygdrive/c/WINDOWS:/c
> ygdrive/c/WINDOWS/SYSTEM32/Wbem:/cygdrive/c/Program Files/Novell/ZENworks/:/cygd
> rive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/MinGW/bin:/usr/bin:/cygdriv
> e/c/msys/1.0/bin:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Program F
> iles/Novell/GroupWise:/cygdrive/c/Program Files/Putty:/cygdrive/c/GTK/2.0/bin:/c
> ygdrive/c/Program Files/SSH Communications Security/SSH Secure Shell:Z:.:Y:.

What Csaba said. Also, MSYS's bin directory does appear in there
(/cygdrive/c/msys/1.0/bin), but Cygwin's is before it, so that's fine.
Hence, as mentioned before, you need to check whether you do actually
have Cygwin's vi and make installed, e.g. using the 'which' command.

For further installation questions, please provide the cygcheck output
requested at http://cygwin.com/problems.html.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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