X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 81A28475FC8 for ; Sun, 11 May 2003 06:13:48 -0400 (EDT) Received: from addu.axelero.hu (mail02.axelero.hu [195.228.240.77]) by postgresql.org (Postfix) with ESMTP id C8B834758F1 for ; Sun, 11 May 2003 06:13:47 -0400 (EDT) Received: from info (line-206-239.dial.matav.net [145.236.206.239]) by mail02.axelero.hu (iPlanet Messaging Server 5.1 HotFix 1.9 (built Dec 3 2002)) with SMTP id <0HEP00LC4TJ7UG@mail02.axelero.hu> for pgsql-admin@postgresql.org; Sun, 11 May 2003 11:11:33 +0200 (MEST) Date: Sun, 11 May 2003 11:10:28 +0200 From: =?iso-8859-1?Q?Egy=FCd_Csaba?= Subject: Can't initdb under cygwin To: pgsql-admin Message-id: <000701c3179d$51e96360$210a0a0a@info> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Spam-Status: No, hits=-3.1 required=5.0 tests=BAYES_20 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/132 X-Sequence-Number: 8694 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