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: path not found - fstab problem?


2010/1/21 Russ:
> Hello,
>
> I have cygwin installed in the default c:\cygwin location...
>
> I cannot get cygwin to see an executable in my path Â-- unless I
> change dirs down to the application location or run it with the
> absolute path.
>
> This works:
> rp@mycomputer Â~
> $ Â/c/Apps/apache-ant-1.8.0RC1/bin/ant -version
> Apache Ant version 1.8.0RC1 compiled on January 5 2010
>
> THIS DOES NOT:
> From my home dir: Âtype "ant" and it is not found.
>
> rp@mycomputer ~
> $ date
> Wed Jan 20 20:20:44 PST 2010
>
> rp@mycomputer ~
> $ ant
> -bash: ant: command not found
>
> I am using cygwin 1.7.1-1 with the new /etc/fstab file.
>
> Here is my fstab file:
> cat /etc/fstab:
> Â # For a description of the file format, see the Users Guide
> Â # http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table
>
> Â C: /c ntfs binary 0 0
> Â D: /d ntfs binary 0 0
> Â # This is default anyway:
> Â # none /cygdrive cygdrive binary,posix=0,user 0 0
>
> If I am in my home directory and simply type "ant" it is not found.
>
> rp@mycomputer ~
> $ date
> Wed Jan 20 20:20:44 PST 2010
>
> rp@mycomputer ~
> $ ant
> -bash: ant: command not found
>
> my .bash_profile path looks like:
> PATH=$PATH:/c/Apps/apache-ant-1.8.ORC1/bin
> export PATH

You've got an O ('oh') instead of a 0 ('zero') in there. If that's
just a typo in your mail, please check what your path is actually set
to, using 'echo $PATH'.

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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