X-Original-To: pgsql-cygwin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 0399C9DCA18 for ; Mon, 23 Jan 2006 16:44:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 40980-03 for ; Mon, 23 Jan 2006 16:44:48 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from thing.verysmall.org (thing.verysmall.org [212.100.226.116]) by postgresql.org (Postfix) with SMTP id C439E9DCA07 for ; Mon, 23 Jan 2006 16:44:44 -0400 (AST) Received: (qmail 85424 invoked by uid 89); 23 Jan 2006 21:11:54 -0000 Received: from unknown (HELO ?127.0.0.1?) (iavor.raytchev@verysmall.org@212.144.215.99) by thing.verysmall.org with SMTP; 23 Jan 2006 21:11:54 -0000 Message-ID: <43D54016.2010706@verysmall.org> Date: Mon, 23 Jan 2006 21:44:06 +0100 From: "pobox@verysmall.org" User-Agent: Thunderbird 1.6a1 (Windows/20060119) MIME-Version: 1.0 To: pragna526@yahoo.co.in, pgsql-cygwin@postgresql.org Subject: Re: Trouble in using initdb Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/11 X-Sequence-Number: 4323 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