delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/14/18:34:21

X-Spam-Check-By: sourceware.org
Message-ID: <45F88646.4080604@gmail.com>
Date: Wed, 14 Mar 2007 19:33:26 -0400
From: Robert Peaslee <peasleer AT gmail DOT com>
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: <ce38c8690703141544y6ad65edtffacf41a05808924 AT mail DOT gmail DOT com> <20070314225346 DOT GA24311 AT trixie DOT casa DOT cgf DOT cx>
In-Reply-To: <20070314225346.GA24311@trixie.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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/

- Raw text -


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