Anybody got Postgress Binaries working on NT ?

From: Richard Moon <richard(at)dcs(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Anybody got Postgress Binaries working on NT ?
Date: 2000-06-02 16:34:35
Message-ID: 4.2.0.58.20000602172038.00de15e0@195.60.12.162
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've got cygwin b20 installed under the default location
(C:\cygnus\cygwin-b20). Cygwin appears to be working (except that it keeps
telling me I need to set up \tmp. I've created c:\tmp and
c:\cygnus\cygwin-b20\tmp but it still complains) and I've got the 6.5.3
binaries.

I've put the binaries in c:\usr\local\pgsql then setting up cygwin.bat as
@ECHO OFF
SET MAKE_MODE=UNIX
SET PATH=c:\cygnus\CYGWIN~1\H-I586~1\bin;%PATH%
# the above lines were already in cygwin.bat
SET PGLIB=/usr/local/pgsql/lib
SET PGDATA=/usr/local/pgsql/data
SET USER=postgres
SET PATH=c:\\usr\\local\\pgsql\\bin;%PATH%
bash

I've set up an NT user 'postgres' with no special privileges - I run
cygwin.bat and then try
initdb

but it says
bash: /mnt/usr/local/pgsql/bin/initdb: no such file or directory

I'm confused as c:/usr/local/pgsql/bin/initdb definitely exists.

I've cd'ing to /mnt/usr/local/pgsql/bin and typing

./initdb

but I get the same message

I suspect I've got Unix to NT path problems but I've no idea where the
problem lies.

Any help would be really gratefully received.

Thanks

Richard

Richard Moon
richard(at)dcs(dot)co(dot)uk

Responses

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 2000-06-02 16:49:19 PostgreSQL v7.0.1 Released
Previous Message moebius 2000-06-02 16:06:42 recipe database