Thread: PostgreSQL 7.4.2 and Cygwin a no go?
Hello,
We are able to compile without issue but it won't start. The exact same config works perfectly with 7.3.6. Here is the output:
We are able to compile without issue but it won't start. The exact same config works perfectly with 7.3.6. Here is the output:
$ /usr/local/pgsql/bin/postmaster -D data
DEBUG: /usr/local/pgsql/bin/postmaster: PostmasterMain: initial environ dump:
DEBUG: -----------------------------------------
DEBUG: !::=::\
DEBUG: !C:=C:\cygwin\bin
DEBUG: ALLUSERSPROFILE=C:\Documents and Settings\All Users
DEBUG: APPDATA=C:\Documents and Settings\scf\Application Data
DEBUG: CLIENTNAME=Console
DEBUG: COMMONPROGRAMFILES=C:\Program Files\Common Files
DEBUG: COMPUTERNAME=TRAUMA
DEBUG: COMSPEC=C:\WINDOWS\system32\cmd.exe
DEBUG: CVS_RSH=/bin/ssh
DEBUG: HOME=/home/scf
DEBUG: HOMEDRIVE=C:
DEBUG: HOMEPATH=\Documents and Settings\scf
DEBUG: HOSTNAME=trauma
DEBUG: INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\
DEBUG: INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:
DEBUG: LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
DEBUG: LOGONSERVER=\\TRAUMA
DEBUG: MAKE_MODE=unix
DEBUG: MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man
DEBUG: NUMBER_OF_PROCESSORS=1
DEBUG: OLDPWD=/home/scf
DEBUG: OS=Windows_NT
DEBUG: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
DEBUG: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
DEBUG: PROCESSOR_ARCHITECTURE=x86
DEBUG: PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
DEBUG: PROCESSOR_LEVEL=6
DEBUG: PROCESSOR_REVISION=0801
DEBUG: PROGRAMFILES=C:\Program Files
DEBUG: PROMPT=$P$G
DEBUG: PS1=\[\033]0;\w\007\033[32m\]\u@\h \[\033[33m\w\033[0m\]$
DEBUG: PWD=/home/scf/postgresql-7.4.2
DEBUG: SESSIONNAME=Console
DEBUG: SHLVL=1
DEBUG: SYSTEMDRIVE=C:
DEBUG: SYSTEMROOT=C:\WINDOWS
DEBUG: TEMP=/cygdrive/c/DOCUME~1/scf/LOCALS~1/Temp
DEBUG: TERM=cygwin
DEBUG: TMP=/cygdrive/c/DOCUME~1/scf/LOCALS~1/Temp
DEBUG: USER=scf
DEBUG: USERDOMAIN=TRAUMA
DEBUG: USERNAME=scf
DEBUG: USERPROFILE=C:\Documents and Settings\scf
DEBUG: VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\
DEBUG: /usr/local/pgsql/bin/postmaster: PostmasterMain: initial environ dump:
DEBUG: -----------------------------------------
DEBUG: !::=::\
DEBUG: !C:=C:\cygwin\bin
DEBUG: ALLUSERSPROFILE=C:\Documents and Settings\All Users
DEBUG: APPDATA=C:\Documents and Settings\scf\Application Data
DEBUG: CLIENTNAME=Console
DEBUG: COMMONPROGRAMFILES=C:\Program Files\Common Files
DEBUG: COMPUTERNAME=TRAUMA
DEBUG: COMSPEC=C:\WINDOWS\system32\cmd.exe
DEBUG: CVS_RSH=/bin/ssh
DEBUG: HOME=/home/scf
DEBUG: HOMEDRIVE=C:
DEBUG: HOMEPATH=\Documents and Settings\scf
DEBUG: HOSTNAME=trauma
DEBUG: INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\include\
DEBUG: INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:
DEBUG: LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
DEBUG: LOGONSERVER=\\TRAUMA
DEBUG: MAKE_MODE=unix
DEBUG: MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man
DEBUG: NUMBER_OF_PROCESSORS=1
DEBUG: OLDPWD=/home/scf
DEBUG: OS=Windows_NT
DEBUG: /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
DEBUG: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
DEBUG: PROCESSOR_ARCHITECTURE=x86
DEBUG: PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, AuthenticAMD
DEBUG: PROCESSOR_LEVEL=6
DEBUG: PROCESSOR_REVISION=0801
DEBUG: PROGRAMFILES=C:\Program Files
DEBUG: PROMPT=$P$G
DEBUG: PS1=\[\033]0;\w\007\033[32m\]\u@\h \[\033[33m\w\033[0m\]$
DEBUG: PWD=/home/scf/postgresql-7.4.2
DEBUG: SESSIONNAME=Console
DEBUG: SHLVL=1
DEBUG: SYSTEMDRIVE=C:
DEBUG: SYSTEMROOT=C:\WINDOWS
DEBUG: TEMP=/cygdrive/c/DOCUME~1/scf/LOCALS~1/Temp
DEBUG: TERM=cygwin
DEBUG: TMP=/cygdrive/c/DOCUME~1/scf/LOCALS~1/Temp
DEBUG: USER=scf
DEBUG: USERDOMAIN=TRAUMA
DEBUG: USERNAME=scf
DEBUG: USERPROFILE=C:\Documents and Settings\scf
DEBUG: VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\
DEBUG: _=/usr/local/pgsql/bin/postmaster
DEBUG: TZ=FLEST-2FLEST-3,M3.5.0/3,M10.5.0/4
DEBUG: -----------------------------------------
DEBUG: found "/usr/local/pgsql/bin/postgres" using argv[0]
DEBUG: invoking IpcMemoryCreate(size=10461184)
Segmentation fault (core dumped)
DEBUG: TZ=FLEST-2FLEST-3,M3.5.0/3,M10.5.0/4
DEBUG: -----------------------------------------
DEBUG: found "/usr/local/pgsql/bin/postgres" using argv[0]
DEBUG: invoking IpcMemoryCreate(size=10461184)
Segmentation fault (core dumped)
-- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC Postgresql support, programming shared hosting and dedicated hosting. +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com PostgreSQL Replicator -- production quality replication for PostgreSQL
Joshua D. Drake wrote: > We are able to compile without issue but it won't start. The exact > same config works perfectly with 7.3.6. Yes, this is known and being discussed on the pgsql-cygwin list. Maybe you can review the last few postings and help out.