This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: makewhatis script failing
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Geoff Begley" <geoff at jinius dot net>,<cygwin at cygwin dot com>
- Date: Sun, 5 Jan 2003 13:49:23 -0000
- Subject: Re: makewhatis script failing
- References: <ALECLOMOGPMALDMGMEMACEBKCAAA.geoff@jinius.net>
Geoff Begley wrote:
> I was able to successfully run /usr/bin/gawk (V3.1.1-5) from the the
> prompt.
>
> I then created the following script
>
> #!/usr/bin/sh
> /usr/bin/gawk
>
> which produced the same error
> /usr/bin/gawk: not found
>
> Does anyone know why gawk doesn't want to execute from within a
> script?
Works for me - definitely a problem with your installation.
I imagine reinstalling Cygwin will fix it.
> Here is my cygcheck.out...
> Path: .
> C:\HOME\cygwin\bin
> C:\HOME\cygwin\usr\local\bin
> C:\HOME\cygwin\bin
> C:\HOME\cygwin\bin
> C:\HOME\cygwin\bin
> c:\WINNT\system32
> c:\WINNT
> c:\WINNT\System32\Wbem
> C:\home\java\jdk141\bin
> c:\Program Files\SecureCRT 3.0
> C:\home\mysql\bin
> .
> C:\HOME\cygwin\bin
Whilst having the same directory in the path multiple times won't actually
break anything, it looks ugly, and will probably have a speed penalty.
> C:\HOME\cygwin / system binmode
> C:\Documents and Settings\gbegley\Desktop /desktop system binmode
> C:\home /home system binmode
> C:\HOME\cygwin/bin /usr/bin system binmode
> C:\HOME\cygwin/lib /usr/lib system binmode
> . /cygdrive user
binmode,cygdrive
Unconventional, but should still work fine.
> 653k 1998/10/30 C:\home\mysql\bin\cygwinb19.dll - os=4.0 img=1.0
> sys=4.0 "cygwinb19.dll" v0.0 ts=1998/7/15 13:50
Multiple versions of Cygwin is normally very bad news.
I'd raise the possibility that your 2 versions of Cygwin are interfering.
Max.
--
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/