Subject: Re: Failed: Installing Postgresql under Cygwin on win98se
From: Tom Lauren <[email-masked]>
To: [email-masked]
Date: Sat, 09 Mar 2002 03:04:26 +0100
Newsgroups: gmane.os.cygwin

Hi Jason,

$ ls -l /bin/postgres

gives me this:

?rw-r--r--    0 0        unknown   2706432 Jan  1  1970 /bin/postgres

where "unknown" is my win-username (ok might be confusing..)
1970 looks funny, but this ?rw-r--r-- makes me nervous...
and chmod doesn´t work, so I have no idea how to change that!?

Ok, you wanted it, here we go ;)
__________$ cygcheck -s -r -v >cygcheck.txt__________________
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Mar 09 02:23:35 2002

Windows 98 SE Ver 4.10 Build 2222

Path: E:\cygwin\bin
 E:\cygwin\usr\local\bin
 E:\cygwin\bin
 E:\cygwin\bin
 E:\cygwin\bin
 d:\TEMP
 c:\WINDOWS
 d:\WINDOWS
 d:\WINDOWS\COMMAND
 .
 E:\cygwin

SysDir: D:\WINDOWS\SYSTEM
WinDir: D:\WINDOWS

HOME = `E:\cygwin\bin\unknown\unknown'
MAKE_MODE = `unix'
PWD = `/usr/bin/unknown'
USER = `unknown'
[snip]
CMDLINE = `bash --login'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CONFIG = `NORM'
CTSYN = `D:\WINDOWS'
DIRCMD = `/O:N'
EXPAND = `YES'
MANPATH = `:/usr/ssl/man'
OLDPWD = `/usr/bin'
PROMPT = `$p$g'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
TEMP = `d:\'
TERM = `cygwin'
TMP = `d:\'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `D:\WINDOWS'
_ = `/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
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
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `E:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `E:/cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `E:/cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options

[snip my drives ;)]

.                    /cygdrive  user    binmode,noumount
E:\cygwin      /          system  binmode
E:/cygwin/bin  /usr/bin   system  binmode
E:/cygwin/lib  /usr/lib   system  binmode

Found: E:\cygwin\bin\bash.exe
Found: E:\cygwin\bin\cat.exe
Found: E:\cygwin\bin\cpp.exe
Found: E:\cygwin\bin\find.exe
Found: d:\WINDOWS\COMMAND\find.exe
Warning: E:\cygwin\bin\find.exe hides d:\WINDOWS\COMMAND\find.exe
Found: E:\cygwin\bin\gcc.exe
Not Found: gdb
Found: E:\cygwin\bin\ld.exe
Found: E:\cygwin\bin\ls.exe
Found: E:\cygwin\bin\make.exe
Found: E:\cygwin\bin\sh.exe

[snip endless paths&stuff, just dlls...]
                  "cygbz21.0.dll" v0.0 ts=2000/11/21 0:53
                  "cygcrypto.dll" v0.0 ts=2002/1/16 10:54
                  "cygform5.dll" v0.0 ts=2001/4/25 7:28
                  "cygform6.dll" v0.0 ts=2002/1/9 7:03
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
                  "cyghistory5.dll" v0.0 ts=2002/1/13 2:27
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
                  "cygmenu5.dll" v0.0 ts=2001/4/25 7:27
                  "cygmenu6.dll" v0.0 ts=2002/1/9 7:03
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 7:29
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 7:03
                  "cygncurses5.dll" v0.0 ts=2001/4/25 7:17
                  "cygncurses6.dll" v0.0 ts=2002/1/9 7:03
                  "cygpanel5.dll" v0.0 ts=2001/4/25 7:27
                  "cygpanel6.dll" v0.0 ts=2002/1/9 7:03
                  "cygpcre.dll" v0.0 ts=2001/11/21 23:15
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 23:15
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
                  "cygreadline5.dll" v0.0 ts=2002/1/13 2:27
                  "cygssl.dll" v0.0 ts=2002/1/16 10:54
                  "cygz.dll" v0.0 ts=2002/1/20 20:41
                  "cygwin1.dll" v0.0 ts=2002/2/25 17:14
    Cygwin DLL version info:
        DLL version: 1.3.10
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 51
        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: Mon Feb 25 11:14:34 EST 2002
        Shared id: cygwin1S3
[snip last dl]
Package             Version
ash                 20020131-1
bash                2.05a-3
binutils            20011002-1
bzip2               1.0.1-6
clear               1.0
crypt               1.0-1
cygipc              1.11-1
cygwin              1.3.10-1
diff                0.0
file                3.37-1
fileutils           4.1-1
findutils           4.1
gawk                3.0.4-1
gcc                 2.95.3-5
gdbm                1.8.0-4
grep                2.5g
gzip                1.3.2-1
libintl1            0.10.40-1
libncurses5         5.2-1
libncurses6         5.2-8
libreadline4        4.1-2
libreadline5        4.2a-1
login               1.4-3
make                3.79.1-5
ncurses             5.2-8
openssh             3.0.2p1-5
openssl             0.9.6c-3
pcre                3.7-1
postgresql          7.2-2
readline            4.2a-1
sed                 3.02-1
sh-utils            2.0-2
tar                 1.13.19-1
termcap             20010825-1
terminfo            5.2-1
textutils           2.0.21-1
unzip               5.41-1
w32api              1.2-1
which               1.5-1
zip                 2.3-1
zlib                1.1.3-7
_______________EOT________________
phew, thats all so far!
But strange, while it wrote into the file it echoed 23 times:
cygcheck: ls: GetFileInformationByHandle() failed: 1
dunno why, maybe a:\ disk?

Hope one can weave this story to an end....

Tom

--
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/