Anybody got Postgress Binaries working on NT ? - Mailing list pgsql-general

From Richard Moon
Subject Anybody got Postgress Binaries working on NT ?
Date
Msg-id 4.2.0.58.20000602172038.00de15e0@195.60.12.162
Whole thread Raw
List 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@dcs.co.uk


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Operations widh CURSORS
Next
From: The Hermit Hacker
Date:
Subject: PostgreSQL v7.0.1 Released