public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Can't find program in my path
@ 2012-03-16  2:25 Jim Reisert AD1C
  2012-03-17 17:08 ` David Sastre Medina
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Reisert AD1C @ 2012-03-16  2:25 UTC (permalink / raw)
  To: The Cygwin Mailing List

I can't find a particular application in my path.  It used to work,
but I haven't run this application since the last couple of Cygwin
releases.

# set

path    (. /cygdrive/d/Home/bin /usr/local/emacs/bin /usr/local/bin
/usr/bin /cygdrive/c/Program Files (x86)/NVIDIA
Corporation/PhysX/Common /cygdrive/d/Perl/site/bin
/cygdrive/d/Perl/bin /cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin
/cygdrive/c/Windows/system32 /cygdrive/c/Windows
/cygdrive/c/Windows/System32/Wbem
/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI
/cygdrive/d/utility/Diskeeper Corporation/Undelete /cygdrive/c/Program
Files (x86)/QuickTime/QTSystem /cygdrive/d/utility/DISKEE~1/DISKEE~1
/cygdrive/d/WATCOM/BINNT /cygdrive/d/WATCOM/BINW /usr/bin)

# ls "/cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin"

lib               Perl514NH911.dll  perlapp-gui.exe  perlcov-perl.exe
perlfb.exe       perltray.exe      plc-gui.exe
Perl510NH911.dll  Perl58NH911.dll   perlcov.exe      perlctrl.exe
perlsvc.exe      perltray-gui.exe  vbsperl.exe
Perl512NH911.dll  perlapp.exe       perlcov-gui.exe  perlctrl-gui.exe
perlsvc-gui.exe  plc.exe

# ls -l perlapp

-rwx------+ 1 SYSTEM SYSTEM 401504 Dec  9 02:01 perlapp.exe

JJR:~> which perlapp
perlapp: Command not found.

JJR:~> which perlapp.exe
perlapp.exe: Command not found.

perlapp is clearly in that directory.  I tried some other "which"
commands with files further into the path and they were found.

I even did a "chmod og+rwx perlapp.exe" and nothing changed.

Running latest of everything:

CYGWIN_NT-6.1-WOW64 JJR 1.7.11(0.260/5/3) 2012-02-24 14:05 i686 Cygwin

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can't find program in my path
  2012-03-16  2:25 Can't find program in my path Jim Reisert AD1C
@ 2012-03-17 17:08 ` David Sastre Medina
  0 siblings, 0 replies; 2+ messages in thread
From: David Sastre Medina @ 2012-03-17 17:08 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2195 bytes --]

On Thu, Mar 15, 2012 at 08:25:40PM -0600, Jim Reisert AD1C wrote:
> I can't find a particular application in my path.  It used to work,
> but I haven't run this application since the last couple of Cygwin
> releases.
> 
> path    (. /cygdrive/d/Home/bin /usr/local/emacs/bin /usr/local/bin
> /usr/bin /cygdrive/c/Program Files (x86)/NVIDIA
> Corporation/PhysX/Common /cygdrive/d/Perl/site/bin
> /cygdrive/d/Perl/bin /cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin
> /cygdrive/c/Windows/system32 /cygdrive/c/Windows
> /cygdrive/c/Windows/System32/Wbem
> /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
> /cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI
> /cygdrive/d/utility/Diskeeper Corporation/Undelete /cygdrive/c/Program
> Files (x86)/QuickTime/QTSystem /cygdrive/d/utility/DISKEE~1/DISKEE~1
> /cygdrive/d/WATCOM/BINNT /cygdrive/d/WATCOM/BINW /usr/bin)

A simple 'echo $PATH' would be better here.

> # ls "/cygdrive/d/ActiveState Perl Dev Kit 9.1.1/bin"

Please note that ActiveState Perl is not really supported here, as
cygwin has its own perl.

> lib               Perl514NH911.dll  perlapp-gui.exe  perlcov-perl.exe
> perlfb.exe       perltray.exe      plc-gui.exe
> Perl510NH911.dll  Perl58NH911.dll   perlcov.exe      perlctrl.exe
> perlsvc.exe      perltray-gui.exe  vbsperl.exe
> Perl512NH911.dll  perlapp.exe       perlcov-gui.exe  perlctrl-gui.exe
> perlsvc-gui.exe  plc.exe
> 
> JJR:~> which perlapp
> perlapp: Command not found.
> 
> JJR:~> which perlapp.exe
> perlapp.exe: Command not found.
> 
> perlapp is clearly in that directory.  I tried some other "which"
> commands with files further into the path and they were found.

You mean 'which plc' or 'which perlfb' work as expected?

> I even did a "chmod og+rwx perlapp.exe" and nothing changed.
> # ls -l perlapp
> 
> -rwx------+ 1 SYSTEM SYSTEM 401504 Dec  9 02:01 perlapp.exe

Out of curiosity, what does 'getfacl /path/to/perlapp' shows?
Do the other executables in the same directory have the same
permissions (both DAC and ACL)?
Does 'hash perlapp' solve the issue?

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-17 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16  2:25 Can't find program in my path Jim Reisert AD1C
2012-03-17 17:08 ` David Sastre Medina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).