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: Can't find program in my path


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: signature.asc
Description: Digital signature


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