Skip site navigation (1) Skip section navigation (2)

Runtime Problems

From: "Richard Luckhurst" <rickl(at)soundadvice(dot)aunz(dot)net>
To: "PGSQL Hackers" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Runtime Problems
Date: 2004-05-13 01:04:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
Hello All

I am quite new to pgsql and the Win32 port. I have just tried Vishal's new
guide to building
and I am having what looks like a path problem when I try to initialise a
database. I am using
Windows 2000. Everything builds and installs OK and I have copied the files
in the msys\1.0\local\pgsql
to my c:\pgsql folder as per the instructions. I have added C:\pgsql\bin and
c:\pgsql\lib to my path
as instructed. When I try to run initdb I get the following error

initdb -D c:\pgsql\data -W --lc-collate=C
Bad command or file name
fgets failure: No error
Bad command or file name
fgets failure: No error
The program "postgres" is needed by initdb but was not found in 
the directory "C:/msys/1.0/local/pgsql/bin". Check your installation

I would appreciate any clues here as this has me stumped. I don't understand
why is should even be looking in the msys directory.


Richard Luckhurst
Manager / Engineer
Sound Advice / BSP Internet Services
P.O. Box 104 
Narrabri NSW 2390
Ph / Fax 02 6792 6060 

Attachment: winmail.dat
Description: application/ms-tnef (2.2 KB)


pgsql-hackers-win32 by date

Next:From: Claudio NatoliDate: 2004-05-13 01:26:41
Subject: Re: Runtime Problems
Previous:From: Laurent BallesterDate: 2004-05-12 17:02:39
Subject: DLL for log event

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group