Com MN PG P E B Consultant 3
2006-10-19 08:12:53 UTC
I had used Cygwin happily for many month. Now I wanted to update it and
it does not work
anymore. For example, when I click on the Cygwin Icon to start a bash
shell, it first
displays the error messages
: No such file or directory
: No such file or directory
: command not found
: command not found
and then doesn't find any programs (i.e. I can't do a ls, cat, or
whatsoever):
bash-3.1$ ls
bash: ls: command not found
The programs *are* right there in C:\cygwin\bin, but an echo $PATH
revealed that this directory
is not in the PATH:
bash-3.1$ echo $PATH
/c/Program Files/CatPC/Bin:/c/Program
Files/CatPC/Windows/System32:/c/WINNT/syst
em32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program Files/Employee
Services/:/c/Prog
ram Files/IDM computer/UltraEdit10.10c:/c/Program
Files/IXOS/bin:/c/SWS4/NTBIN
bash-3.1$
I guess the PATH is supposed to be set in /etc/profile, but when I check
C:\cygwin\etc, there is
no profile. Interestingly, csh.cshrc and csh.login *are* there.
Here is how I had performed the cygwin update:
First I reloaded setup.exe from the Cygwin website, to get the most
recent version of setup.
Then I executed setup. When setup asked me where to put the cygwin
directory etc., I always
kept the default values.
After I had observed that my bash doesn't work anymore, I repeated the
setup, to give it
a chance to cleanup any inconsistencies, but it didn't change anything.
Ronald
it does not work
anymore. For example, when I click on the Cygwin Icon to start a bash
shell, it first
displays the error messages
: No such file or directory
: No such file or directory
: command not found
: command not found
and then doesn't find any programs (i.e. I can't do a ls, cat, or
whatsoever):
bash-3.1$ ls
bash: ls: command not found
The programs *are* right there in C:\cygwin\bin, but an echo $PATH
revealed that this directory
is not in the PATH:
bash-3.1$ echo $PATH
/c/Program Files/CatPC/Bin:/c/Program
Files/CatPC/Windows/System32:/c/WINNT/syst
em32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program Files/Employee
Services/:/c/Prog
ram Files/IDM computer/UltraEdit10.10c:/c/Program
Files/IXOS/bin:/c/SWS4/NTBIN
bash-3.1$
I guess the PATH is supposed to be set in /etc/profile, but when I check
C:\cygwin\etc, there is
no profile. Interestingly, csh.cshrc and csh.login *are* there.
Here is how I had performed the cygwin update:
First I reloaded setup.exe from the Cygwin website, to get the most
recent version of setup.
Then I executed setup. When setup asked me where to put the cygwin
directory etc., I always
kept the default values.
After I had observed that my bash doesn't work anymore, I repeated the
setup, to give it
a chance to cleanup any inconsistencies, but it didn't change anything.
Ronald
--
Ronald Fischer (phone +49-89-63676431)
mailto:mn-pg-p-e-b-consultant-***@siemens.com
Ronald Fischer (phone +49-89-63676431)
mailto:mn-pg-p-e-b-consultant-***@siemens.com