pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pobox@verysmall.org <pobox@verysmall.org>
To: pragna526@yahoo.co.in
To: pgsql-cygwin@postgresql.org
Subject: Re: Trouble in using initdb
Date: Mon, 23 Jan 2006 21:44:06 +0100
Message-ID: <43D54016.2010706@verysmall.org> (raw)

Hello,

it seems that you are missing cygserver.

I am just doing some testing of 8.0.4 vs 8.1.2 under cygwin and I get
the same when I forget cygserver.

After you install cygwin, do the following -

export CYGWIN=server (not clear if needed, try without it)
unset LANG (not clear if needed, try without it)
export PATH=/usr/bin:/usr/sbin:/usr/local/pgsql/bin:$PATH
/usr/bin/cygserver-config
cygserver &

Then you do -

./configure
make
make install

in the source directory.

Then -

export CYGWIN=server (makes initdb use the cygserver)
initdb -D /usr/local/pgsql/data

This should work.

Iv





view thread (3+ messages)

Message-ID: <43D54016.2010706@verysmall.org>
Permalink:  ../43D54016.2010706@verysmall.org/
Also on:    postgresql.org/message-id/43D54016.2010706@verysmall.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: pobox@verysmall.org, pragna526@yahoo.co.in
  Subject: Re: Trouble in using initdb
  In-Reply-To: <43D54016.2010706@verysmall.org>
  References: <43D54016.2010706@verysmall.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox