pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pobox@verysmall.org <pobox@verysmall.org>
To: ed@unidata.ucar.edu
To: pgsql-cygwin@postgresql.org
Subject: Re: can't get postgresql to start on cygwin...
Date: Mon, 23 Jan 2006 21:41:37 +0100
Message-ID: <43D53F81.9070602@verysmall.org> (raw)

Hi,

I just sent this for another person (just subscribed to the list and 
read all this from the web site so my replies are not really RE).

Hope this helps, but if not, let me know.

Iv

--

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.





view thread (2+ messages)

Message-ID: <43D53F81.9070602@verysmall.org>
Permalink:  ../43D53F81.9070602@verysmall.org/
Also on:    postgresql.org/message-id/43D53F81.9070602@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, ed@unidata.ucar.edu
  Subject: Re: can't get postgresql to start on cygwin...
  In-Reply-To: <43D53F81.9070602@verysmall.org>
  References: <43D53F81.9070602@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