Postgres on Windows NT - Mailing list pgsql-ports

From Christos Poulkas
Subject Postgres on Windows NT
Date
Msg-id 5F89E3097515D11186E70060979029BDBA53EF@sgnts2
Whole thread Raw
Responses Re: Postgres on Windows NT  (Pete Forman <gsez020@kryten.bedford.waii.com>)
List pgsql-ports
Hi,

I tried to install postgresql on my NT machine but in vain.
Following your instructions, I have already installed successfully
cygwin (1.1.4)  and cygipc (1.1.7).

I started ipc-daemon & and executed the following commands:
1. configure --prefix=$HOME/local/pgsql
2. make
I fails during the make procedure reporting the error message below:


dlltool --export-all --output-def postgres.def access/SUBSYS.o bootstrap/SUBSYS.
o catalog/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS
.o main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o
 postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSY
S.o utils/SUBSYS.o ../utils/version.o
dlltool --dllname postgres.exe --def postgres.def --output-lib libpostgres.a
dlltool --dllname postgres.exe --output-exp postgres.exp --def postgres.def
gcc -g -o postgres.exe -Wl,--base-file,postgres.base postgres.exp access/SUBSYS.
o bootstrap/SUBSYS.o catalog/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SU
BSYS.o libpq/SUBSYS.o main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUB
SYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/
SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../utils/version.o -L/usr/local/lib -lcygi
pc -lcrypt -lcygwin -lkernel32
utils/SUBSYS.o(.text+0x42ec7):elog.c: undefined reference to `_sys_nerr'
utils/SUBSYS.o(.text+0x438a5):exc.c: undefined reference to `_sys_nerr'
collect2: ld returned 1 exit status
make[1]: *** [postgres] Error 1
make[1]: Leaving directory `/home/administrator/progs/pgsql/postgresql-7.0.2/src
/backend'
make: *** [all] Error 2

Can you please provide me a workaround? Thanks Christos

pgsql-ports by date:

Previous
From: "Chandra Sekhar . K"
Date:
Subject: Problem in installation of PostgreSQL 7.0.2
Next
From: Pete Forman
Date:
Subject: Re: Problem in installation of PostgreSQL 7.0.2