Can't initdb under cygwin

Поиск
Список
Период
Сортировка
От Együd Csaba
Тема Can't initdb under cygwin
Дата
Msg-id 000701c3179d$51e96360$210a0a0a@info
обсуждение исходный текст
Ответы Re: Can't initdb under cygwin  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Can't initdb under cygwin  (Erick Dennis <edennis@rootshell.be>)
Список 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 по дате отправления:

Предыдущее
От: Együd Csaba
Дата:
Сообщение: Error compiling Postgres under cygwin
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can't initdb under cygwin