output of cygcheck -s -v -r

Igor Pechtchanski pechtcha@cs.nyu.edu
Tue Apr 8 17:41:00 GMT 2003


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 <pechtcha@cs.nyu.edu> 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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/



More information about the Cygwin mailing list