File paths redirected to MSYS directory
Mon Nov 29 12:52:00 GMT 2010
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.
> 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/...' ?
> 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:.;
> 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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin