Can't initdb under cygwin - Mailing list pgsql-admin

From Együd Csaba
Subject Can't initdb under cygwin
Date
Msg-id 000701c3179d$51e96360$210a0a0a@info
Whole thread Raw
Responses Re: Can't initdb under cygwin  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Can't initdb under cygwin  (Erick Dennis <edennis@rootshell.be>)
List pgsql-admin
Hi,
As I wrote in my previous letter, I would like to use postgres under
Windows. My first idea - compiling directly from the source package didn't
work. So I tied to use the binary package shipped with cygwin (postgres
7.3.2-1). It has been installed. But initdb sent the following error
message:
-------------------------------------
$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "Csaba".
This user must also own the server process.

The database cluster will be initialized with locale C.

Fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
creating template1 database in /usr/local/pgsql/data/base/1...
IpcSemaphoreCreate: semget(key=
1, num=17, 03600) failed: Function not implemented

initdb failed.
--------------------------------------------

During the compilation process the make complains about something similar:
'semget' and 'IpcSemaphoreCreate'. But I has found a reference in cygwin
documentation about something 'getsem'. Is taht possible that the binary
package doesn't support semaphores? I don't think so.

How could I make it work?

Thanks,
Csaba


pgsql-admin by date:

Previous
From: Együd Csaba
Date:
Subject: Error compiling Postgres under cygwin
Next
From: Tom Lane
Date:
Subject: Re: Can't initdb under cygwin