This is the mail archive of the cygwin@cygwin.com 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]

thanks, makewhatis works, still have man problems


Let my preface by saying thank you to Max Bowsher for his help!
I reinstalled cygwin, and no longer get have the problems accessing programs
from scripts.
I was able to execute makewhatis successfully, and whatis <xxx> yields an
entry for <xxx> from the database, however I haven't yet been able to access
any man pages.

I ran >man bash, and received
no manual entry for bash (same for sh, grep, or anything else)

However, I think that I was confused about the original problem.
even though the makewhatis script was able to find the man pages and create
the whatis database, man is not finding any man pages,

I appreciate any help that anyone could offer

here is the output from
$ echo manpath=$MANPATH; man -dw man; echo; echo whatis...; whatis man;

manpath=/usr/local/man:/usr/man
Reading config file /etc/man.config
found man directory /usr/share/man
found man directory /usr/X11R6/man
found man directory /usr/local/man
found man directory /usr/kerberos/man
found man directory /usr/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/man
found manpath map /usr/local/sbin --> /usr/local/man
found manpath map /usr/X11R6/bin --> /usr/X11R6/man
found manpath map /usr/bin/X11 --> /usr/X11R6/man
found manpath map /usr/bin/mh --> /usr/share/man
found manpath map /usr/kerberos/bin --> /usr/kerberos/man
found manpath map /usr/kerberos/sbin --> /usr/kerberos/man

using /usr/bin/less -isrR as pager
adding /usr/man to manpath
No manual entry for man

whatis...
man                  (1)  - format and display the on-line manual pages
man.conf [man]       (5)  - configuration data for man



here is my man.conf file (I omitted the comments)
MANPATH /usr/share/man
MANPATH	/usr/X11R6/man
MANPATH	/usr/local/man
MANPATH /usr/kerberos/man
MANPATH	/usr/man

MANPATH_MAP	/bin			/usr/share/man
MANPATH_MAP	/sbin			/usr/share/man
MANPATH_MAP	/usr/bin		/usr/share/man
MANPATH_MAP	/usr/sbin		/usr/share/man
MANPATH_MAP	/usr/local/bin		/usr/local/man
MANPATH_MAP	/usr/local/sbin		/usr/local/man
MANPATH_MAP	/usr/X11R6/bin		/usr/X11R6/man
MANPATH_MAP	/usr/bin/X11		/usr/X11R6/man
MANPATH_MAP	/usr/bin/mh		/usr/share/man
MANPATH_MAP	/usr/kerberos/bin	/usr/kerberos/man
MANPATH_MAP	/usr/kerberos/sbin	/usr/kerberos/man

NOCACHE

TROFF		/usr/bin/groff -Tps -mandoc
NROFF		/usr/bin/nroff -c -mandoc
JNROFF		/usr/bin/groff -Tnippon -mandocj
EQN		/usr/bin/eqn -Tps
NEQN		/usr/bin/eqn -Tlatin1
JNEQN		/usr/bin/eqn -Tnippon
TBL		/usr/bin/tbl
# COL		/bin/col
REFER		/usr/bin/refer
PIC		/usr/bin/pic
VGRIND
GRAP
PAGER		/usr/bin/less -isrR
CAT		/bin/cat

CMP		/usr/bin/cmp -s

COMPRESS	/bin/gzip
COMPRESS_EXT	.gz

MANSECT		1:8:2:3:4:5:6:7:9:tcl:n:l:p:o

.gz		/bin/gunzip -c
.bz2		/bin/bzip2 -c -d
.z
.Z		/bin/zcat
.F
.Y



Here is my new cygcheck after reinstalling cygwin...

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Jan 06 00:07:00 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

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

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:\home\gbegley'
MAKE_MODE = `unix'
PWD = `/home/gbegley'
USER = `gbegley'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\gbegley\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `APOLLO'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVSROOT = `/home/gbegley'
CYGHOME = `C:\home\cygwin'
HOMEDRIVE = `C:'
HOMEPATH = `\'
JAVA_HOME = `C:\HOME\java\jdk141'
LOGONSERVER = `\\APOLLO'
MYSQL_HOME = `C:\home\mysql'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/man'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0204'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\tmp'
TERM = `xterm'
TMP = `c:\tmp'
USERDOMAIN = `APOLLO'
USERNAME = `gbegley'
USERPROFILE = `C:\Documents and Settings\gbegley'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\HOME\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/desktop
  (default) = `C:\Documents and Settings\gbegley\Desktop'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home
  (default) = `C:\home'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\HOME\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\HOME\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS   20002Mb  32% CP CS UN PA FC
d:  cd  CDFS     616Mb 100%    CS UN           SB_INSTALL

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

Found: C:\HOME\cygwin\bin\bash.exe
Found: C:\HOME\cygwin\bin\cat.exe
Found: C:\HOME\cygwin\bin\cpp.exe
Found: C:\HOME\cygwin\bin\find.exe
Found: C:\HOME\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\HOME\cygwin\bin\ld.exe
Found: C:\HOME\cygwin\bin\ls.exe
Found: C:\HOME\cygwin\bin\make.exe
Found: C:\HOME\cygwin\bin\sh.exe

   45k 2001/04/25 C:\HOME\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 1:28
   35k 2002/01/09 C:\HOME\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 1:03
   19k 2002/02/20 C:\HOME\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 22:05
   17k 2001/06/28 C:\HOME\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0
sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
   20k 2002/10/10 C:\HOME\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0
sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 13:28
  306k 2002/04/27 C:\HOME\cygwin\bin\cyghttpd.dll - os=4.0 img=1.0 sys=4.0
                  "cyghttpd.dll" v0.0 ts=2002/4/27 9:23
  929k 2002/06/24 C:\HOME\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 14:24
   22k 2001/12/13 C:\HOME\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 4:28
   28k 2002/09/20 C:\HOME\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/19 23:13
   26k 2001/04/25 C:\HOME\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 1:27
   20k 2002/01/09 C:\HOME\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 1:03
  156k 2001/04/25 C:\HOME\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
  175k 2002/01/09 C:\HOME\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
  226k 2001/04/25 C:\HOME\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 1:17
  202k 2002/01/09 C:\HOME\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0
sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 1:03
   15k 2001/04/25 C:\HOME\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 1:27
   12k 2002/01/09 C:\HOME\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 1:03
   40k 2001/11/21 C:\HOME\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 17:15
   39k 2001/11/21 C:\HOME\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0
sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 17:15
   22k 2002/06/09 C:\HOME\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
  108k 2001/06/28 C:\HOME\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
  127k 2002/10/10 C:\HOME\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0
sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 13:28
   50k 2002/03/12 C:\HOME\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 23:38
  880k 2002/12/25 C:\HOME\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/12/25 15:37
    Cygwin DLL version info:
        DLL version: 1.3.18
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 69
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Wed Dec 25 15:37:50 EST 2002
        Shared id: cygwin1S3

  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

Cygwin Package Information
Last downloaded files to: C:\HOME\software\cygwin
Last downloaded files from: ftp://ftp.cise.ufl.edu/pub/mirrors/cygwin

Package             Version
_update-info-dir    00116-1
agetty              2.1-1
apache              1.3.24-5
ash                 20020731-1
autoconf            2.54-1
autoconf-devel      2.57-1
autoconf-stable     2.13-4
automake            1.7.1-1
automake-stable     1.4p5-5
base-files          1.1-1
base-passwd         1.0-1
bash                2.05b-8
bc                  1.06-1
binutils            20021117-1
bison               1.75-1
clear               1.0-1
cron                3.0.1-7
crypt               1.0-1
ctags               5.2-1
cvs                 1.11.0-1
cygrunsrv           0.95-1
cygutils            1.1.3-1
cygwin              1.3.18-1
cygwin-doc          1.2-1
diff                1.0-1
diffutils           2.8.1-1
ed                  0.2-1
emacs               21.2-11
fileutils           4.1-1
findutils           4.1.7-4
flex                2.5.4-2
fortune             1.8-2
gawk                3.1.1-5
gcc                 3.2-3
gcc-mingw           20020817-4
gdbm                1.8.0-4
gnugo               3.2-1
grep                2.5-1
groff               1.18.1-2
gsl                 1.3-1
gzip                1.3.3-4
inetutils           1.3.2-19
irc                 20010101-1
less                378-1
libiconv2           1.8-2
libintl1            0.10.40-1
libintl2            0.11.5-1
libncurses5         5.2-1
libncurses6         5.2-8
libpopt0            1.6.4-4
libreadline4        4.1-2
libreadline5        4.3-2
login               1.7-1
m4                  1.4-1
make                3.79.1-7
man                 1.5j-1
mingw-runtime       2.3-1
mktemp              1.4-1
more                2.11o-1
ncurses             5.2-8
newlib-man          20020801
patch               2.5.8-2
pcre                3.7-1
perl                5.6.1-2
perl_manpages       5.8.0-1
postgresql          7.3-1
procps              010801-2
readline            4.3-2
sed                 4.0.1-1
sh-utils            2.0.15-1
tar                 1.13.25-1
termcap             20020930-1
terminfo            5.2-3
texinfo             4.2-4
textutils           2.0.21-1
unzip               5.50-1
vim                 6.1-2
w32api              2.1-1
which               1.5-1
whois               4.6.1-1
zip                 2.3-2
zlib                1.1.4-1

Use -h to see help about each section

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Jan 08 23:39:29 2003

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:	.
	C:\home\cygwin\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
	.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:\home\gbegley'
MAKE_MODE = `unix'
PWD = `/home/gbegley'
USER = `gbegley'

Use `-r' to scan registry

a:  fd           N/A    N/A
c:  hd  NTFS   20002Mb  32% CP CS UN PA FC
d:  cd  CDFS     516Mb 100%    CS UN           ROGUESPR

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
C:\home\cygwin\bin                         /usr/local/bin  system  binmode
.                                          /cygdrive       user
binmode,cygdrive

Found: C:\home\cygwin\bin\bash.exe
Found: C:\home\cygwin\bin\cat.exe
Found: C:\home\cygwin\bin\cpp.exe
Found: C:\home\cygwin\bin\find.exe
Found: C:\home\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\home\cygwin\bin\ld.exe
Found: C:\home\cygwin\bin\ls.exe
Found: C:\home\cygwin\bin\make.exe
Found: C:\home\cygwin\bin\sh.exe

   45k 2001/04/25 C:\home\cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\home\cygwin\bin\cygform6.dll
   19k 2002/02/20 C:\home\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\home\cygwin\bin\cyghistory4.dll
   20k 2002/10/10 C:\home\cygwin\bin\cyghistory5.dll
  306k 2002/04/27 C:\home\cygwin\bin\cyghttpd.dll
  929k 2002/06/24 C:\home\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 C:\home\cygwin\bin\cygintl-1.dll
   28k 2002/09/20 C:\home\cygwin\bin\cygintl-2.dll
   26k 2001/04/25 C:\home\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\home\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\home\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\home\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\home\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\home\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\home\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\home\cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\home\cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\home\cygwin\bin\cygpcreposix.dll
   22k 2002/06/09 C:\home\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 C:\home\cygwin\bin\cygreadline4.dll
  127k 2002/10/10 C:\home\cygwin\bin\cygreadline5.dll
   50k 2002/03/12 C:\home\cygwin\bin\cygz.dll
  880k 2002/12/25 C:\home\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.18
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 69
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Wed Dec 25 15:37:50 EST 2002
        Shared id: cygwin1S3

  653k 1998/10/30 C:\home\mysql\bin\cygwinb19.dll

Cygwin Package Information
Package             Version
_update-info-dir    00116-1
agetty              2.1-1
apache              1.3.24-5
ash                 20020731-1
autoconf            2.54-1
autoconf-devel      2.57-1
autoconf-stable     2.13-4
automake            1.7.1-1
automake-stable     1.4p5-5
base-files          1.1-1
base-passwd         1.0-1
bash                2.05b-8
bc                  1.06-1
binutils            20021117-1
bison               1.75-1
clear               1.0-1
cron                3.0.1-7
crypt               1.0-1
ctags               5.2-1
cvs                 1.11.0-1
cygrunsrv           0.95-1
cygutils            1.1.3-1
cygwin              1.3.18-1
cygwin-doc          1.2-1
diff                1.0-1
diffutils           2.8.1-1
ed                  0.2-1
emacs               21.2-11
fileutils           4.1-1
findutils           4.1.7-4
flex                2.5.4-2
fortune             1.8-2
gawk                3.1.1-5
gcc                 3.2-3
gcc-mingw           20020817-4
gdbm                1.8.0-4
gnugo               3.2-1
grep                2.5-1
groff               1.18.1-2
gsl                 1.3-1
gzip                1.3.3-4
inetutils           1.3.2-19
irc                 20010101-1
less                378-1
libiconv2           1.8-2
libintl1            0.10.40-1
libintl2            0.11.5-1
libncurses5         5.2-1
libncurses6         5.2-8
libpopt0            1.6.4-4
libreadline4        4.1-2
libreadline5        4.3-2
login               1.7-1
m4                  1.4-1
make                3.79.1-7
man                 1.5j-1
mingw-runtime       2.3-1
mktemp              1.4-1
more                2.11o-1
ncurses             5.2-8
newlib-man          20020801
patch               2.5.8-2
pcre                3.7-1
perl                5.6.1-2
perl_manpages       5.8.0-1
postgresql          7.3-1
procps              010801-2
readline            4.3-2
sed                 4.0.1-1
sh-utils            2.0.15-1
tar                 1.13.25-1
termcap             20020930-1
terminfo            5.2-3
texinfo             4.2-4
textutils           2.0.21-1
unzip               5.50-1
vim                 6.1-2
w32api              2.1-1
which               1.5-1
whois               4.6.1-1
zip                 2.3-2
zlib                1.1.4-1

Use -h to see help about each section


-----Original Message-----
From: Max Bowsher [mailto:maxb@ukf.net]
Sent: Sunday, January 05, 2003 8:49 AM
To: Geoff Begley; cygwin@cygwin.com
Subject: Re: makewhatis script failing


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/


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