Re: initdb: failed - Mailing list pgsql-cygwin

From Reini Urban
Subject Re: initdb: failed
Date
Msg-id 4175B223.90109@x-ray.at
Whole thread Raw
In response to initdb: failed  (Helmut Hänsel <Helmut.Haensel@uni-bayreuth.de>)
List pgsql-cygwin
Helmut Hänsel schrieb:
> I have freshly downloaded 8.0beta3cvs on my cygwin running on Windows 2000
>
> "configure" - "make install"  without any probs
>
> "initdb -D /var/pgsql/data" results in the following error message:
>
> creating template1 database in /var/pgsql/data/base/1 ... FATAL:  could not
> create shared memory segment: Function not implemented
>
> I have read around in the newsgroups and found several possible origins for
> this failure, what I have done is:
>
> - cygipc is installed and detected by configure:
>
>   > cat config.log | grep shmget
>   configure:5699: checking for shmget in -lcygipc
>   ac_cv_lib_cygipc_shmget=yes

that's the problem. you have to deinstall cygipc.

do you know that there's an official cygwin postgres-8.0.0cvs package?
with build script, docs and and patches.

> - cygserver is configured and started
>
> - the environment variable CYGWIN is set to contain the word server
>
>   > env|grep CYGWIN
>   CYGWIN=binmode ntsec tty server
>
> - ipc-daemon or ipc-daemon2 are not running
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

pgsql-cygwin by date:

Previous
From: Helmut Hänsel
Date:
Subject: initdb: failed
Next
From: Reini Urban
Date:
Subject: Re: Where is the link to cygwin?