Can't initdb under cygwin

From: Együd Csaba <csegyud(at)freemail(dot)hu>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Can't initdb under cygwin
Date: 2003-05-11 09:10:28
Message-ID: 000701c3179d$51e96360$210a0a0a@info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-05-11 14:10:51 Re: Can't initdb under cygwin
Previous Message Jason Kosowan 2003-05-11 08:18:21 Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5 - missing global/pg_control