delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/05/08:53:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <00fc01c2b4c1$c9041150$ba97883e@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Geoff Begley" <geoff AT jinius DOT net>, <cygwin AT cygwin DOT com>
References: <ALECLOMOGPMALDMGMEMACEBKCAAA DOT geoff AT jinius DOT net>
Subject: Re: makewhatis script failing
Date: Sun, 5 Jan 2003 13:49:23 -0000
MIME-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019