| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| In-Reply-To: | <8740a06c1001202034r61295273mac64afe4fcf38234@mail.gmail.com> |
| References: | <8740a06c1001202034r61295273mac64afe4fcf38234 AT mail DOT gmail DOT com> |
| Date: | Thu, 21 Jan 2010 04:44:13 +0000 |
| Message-ID: | <416096c61001202044s6a3d447cpbcc69d5adbc8f8d@mail.gmail.com> |
| Subject: | Re: path not found - fstab problem? |
| From: | Andy Koppe <andy DOT koppe AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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 =C2=A0-- unless I
> change dirs down to the application location or run it with the
> absolute path.
>
> This works:
> rp AT mycomputer =C2=A0~
> $ =C2=A0/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: =C2=A0type "ant" and it is not found.
>
> rp AT mycomputer ~
> $ date
> Wed Jan 20 20:20:44 PST 2010
>
> rp AT 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:
> =C2=A0 # For a description of the file format, see the Users Guide
> =C2=A0 # http://cygwin.com/1.7/cygwin-ug-net/using.html#mount-table
>
> =C2=A0 C: /c ntfs binary 0 0
> =C2=A0 D: /d ntfs binary 0 0
> =C2=A0 # This is default anyway:
> =C2=A0 # none /cygdrive cygdrive binary,posix=3D0,user 0 0
>
> If I am in my home directory and simply type "ant" it is not found.
>
> rp AT mycomputer ~
> $ date
> Wed Jan 20 20:20:44 PST 2010
>
> rp AT mycomputer ~
> $ ant
> -bash: ant: command not found
>
> my .bash_profile path looks like:
> PATH=3D$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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |