Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 8 Apr 2003 12:38:07 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Suetlam Chung cc: cygwin AT cygwin DOT com Subject: Re: output of cygcheck -s -v -r In-Reply-To: <20030408162439.24836.qmail%40web10105.mail.yahoo.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Suetlam, Replies inline below. On Tue, 8 Apr 2003, Suetlam Chung wrote: > The following is the result > > bash-2.05b$ echo $PATH > /cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32 Your PATH is hosed. Please *attach* the output of "bash --login -i -v" as run from "c:\cygwin\bin" in a cmd.exe window. Also, please attach the following files to your reply: /etc/profile, ~/.bashrc, ~/.bash_profile, ~/.bash_login, ~/.profile. > bash-2.05b$ type -a ls > > bash: type: ls: not found > > bash-2.05b$ type -a gcc > > bash: type: gcc: not found Expected, because of the hosed PATH. > bash-2.05b$ /bin/ls -l/ > /bin/ls: invalid option -- / > Try `/bin/ls --help' for more information. > > bash-2.05b$ /bin/ls -1/ > /bin/ls: invalid option -- / > Try `/bin/ls --help' for more information. > > bash-2.05b$ /bin/getfacl/ > Usage: [-adn] FILE [FILE2...] > Display file and directory access control lists > (ACLs). > [snip getfacl help] Did you really not notice the *space* after "-l" (the letter "ell") and "getfacl"? The one before the "/"? Never mind, the PATH above explains your problem. > bash-2.05b$ /bin/ls -l /bin/gcc.exe > -rwxr-xr-x 1 a None 88064 Nov 15 > 06:37 /bin/gcc.exe > bash-2.05b$ /bin/getfacl /bin/gcc.exe > # file: /bin/gcc.exe > # owner: a > # group: None > user::rwx > group::r-x > other:r-x > mask:rwx Ok, so it's readable. Now let's find out what kills your PATH. Igor > --- Igor Pechtchanski wrote: > > On Tue, 8 Apr 2003, Marcel Telka wrote: > > > > > Please stay on the list. > > > > > > Napsan da 2003.04.08 16:39, (autor: Suetlam Chung): > > > > I copy/input below; > > > > cygcheck -s -v -r > > > > > > > > output is below; > > > > cygcheck: command not found > > > > > > Please add C:\cygwin\bin (or something similar, depends on where you > > > have installed cygwin) to PATH env. variable. > > > > Marcel, > > > > The error indicates that the commands are not found > > from *bash* (thus, the path should be set properly). > > > > Suetlam, > > > > Please post the output of the following commands (as > > run from bash): > > > > 1) echo $PATH > > 2) type -a ls > > 3) type -a gcc > > 4) /bin/ls -l / > > 5) /bin/getfacl / > > 6) /bin/ls -l /bin/gcc.exe > > 7) /bin/getfacl /bin/gcc.exe > > > > This should help us diagnose the problem, > > Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/