X-Spam-Check-By: sourceware.org Message-ID: <45F88646.4080604@gmail.com> Date: Wed, 14 Mar 2007 19:33:26 -0400 From: Robert Peaslee User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ls not working on cygwin install on XP References: <20070314225346 DOT GA24311 AT trixie DOT casa DOT cgf DOT cx> In-Reply-To: <20070314225346.GA24311@trixie.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/, populating it with another installation's .bashrc and .bash_profile) and setting the path to include /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/