Re: Can't initdb under cygwin

From: Erick Dennis <edennis(at)rootshell(dot)be>
To: Együd Csaba <csegyud(at)freemail(dot)hu>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Can't initdb under cygwin
Date: 2003-05-12 14:35:23
Message-ID: Pine.LNX.4.44.0305121633500.12170-100000@phenix.rootshell.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Install cygipc-1.13-2.tar.bz2 (look for it on google).

Best Regards.

On Sun, 11 May 2003, Együd Csaba wrote:

> 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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBD3AVWoRBACodcxl03gUoJOqgzRfAheG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PLm7LMHq2Mauap
OfztGsOfayzARNwu0IhGBBgRAgAGBQI9wFVuAAoJEEBH/zCXHq9A9FkAnjVE9wCa
i1Gau6ypIxomane6UD3NAKDkl1ulR3iEsdy8fF99Oo95tSkawg==
=86sd
-----END PGP PUBLIC KEY BLOCK-----

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Raymond Chan 2003-05-12 14:54:21 IDENT authentication problem.....help again
Previous Message Tom Lane 2003-05-12 14:32:40 Re: No flamefest please, MySQL vs. PostgreSQL AGAIN