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