Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <00fc01c2b4c1$c9041150$ba97883e@pomello> From: "Max Bowsher" To: "Geoff Begley" , References: Subject: Re: makewhatis script failing Date: Sun, 5 Jan 2003 13:49:23 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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/