This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ls not working on cygwin install on XP


I actually had the same problem just this week, but thought it was Windows Vista specific since I hadn't heard of it before.

For some reason the postinstall scripts aren't running correctly, but only sometimes. I know that I got lucky on my third reinstall after a couple of days of attempting to troubleshoot my installation. The packages are all being retrieved, and the directory structure is being created with the exception of /home. Attempting to run the postinstall scripts manually failed for me.

I initially got things working by creating the environment by hand (creating /home/<user>, populating it with another installation's .bashrc and .bash_profile) and setting the path to include <install path>/bin.

That workaround felt dirty, so I deleted the local cygwin package cache and used another mirror. Things worked fine this time. It is a weird problem and I have no idea why that would fix it.

Hope that helps,

--Robert Peaslee

Christopher Faylor wrote:
On Wed, Mar 14, 2007 at 03:44:24PM -0700, Archana wrote:
I installed using setup.exe and installed numerous additional packages
in the hopes of getting ls on Windows XP.
After double clicking on the Cygwin Icon, pwd works but ls does not.
I expected ls to work as it is the most basic command available.
When I run cygcheck or uname I get the following:
bash-3.2$ cygcheck
bash: cygcheck: command not found
bash: uname: command not found

...which would indicate that, for some reason, your PATH environment variable does not contain "/usr/bin".

Save the PATH and save the world.

cgf

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




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]