Обсуждение: PostgreSQL on Windows 2000

Поиск
Список
Период
Сортировка

PostgreSQL on Windows 2000

От
Sylvan Ravinet
Дата:
Hello,

Installing version 7.0.3 in following the steps at
http://postgresql.rmplc.co.uk/docs/faq-mswin (but without "Andy Piper
Tools", couldn't find them), with cygipc cygipc-1.08 binary, under cygwin
latest version, I ran through this:

dllinit.c:49: warning: no previous prototype for
`_cygwin_noncygwin_dll_entry'
make[2]: Leaving directory `/usr/src/postgresql-7.0.3/src/utils'
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: port/SUBSYS.o: no symbols
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+0x4340f):elog.c: undefined reference to `_sys_nerr'
utils/SUBSYS.o(.text+0x43ded):exc.c: undefined reference to `_sys_nerr'
collect2: ld returned 1 exit status
make[1]: *** [postgres] Error 1
make[1]: Leaving directory `/usr/src/postgresql-7.0.3/src/backend'
make: *** [all] Error 2

I would appreciate any pointers (or binaries!)

Thank you for your help,

Best regards,

-Sylvan

--
No, try not. Do, or do not. There's no try. -Yoda
Sylvan Ravinet: http://www.ravinet.com/sylvan/contact/ -- This message is
Copyright 2000 by Sylvan Ravinet. All rights (and responsibility) reserved.


Re: PostgreSQL on Windows 2000

От
Jason Tishler
Дата:
Sylvan,

On Sat, Feb 03, 2001 at 01:56:59AM +0200, Sylvan Ravinet wrote:
> Installing version 7.0.3 in following the steps at
> http://postgresql.rmplc.co.uk/docs/faq-mswin (but without "Andy Piper
> Tools", couldn't find them), with cygipc cygipc-1.08 binary, under cygwin
> latest version, I ran through this:
> ...
> utils/SUBSYS.o(.text+0x4340f):elog.c: undefined reference to `_sys_nerr'
> utils/SUBSYS.o(.text+0x43ded):exc.c: undefined reference to `_sys_nerr'
> collect2: ld returned 1 exit status
> make[1]: *** [postgres] Error 1
> make[1]: Leaving directory `/usr/src/postgresql-7.0.3/src/backend'
> make: *** [all] Error 2
>
> I would appreciate any pointers (or binaries!)

Please see the following:

    http://people.freebsd.org/~kevlo/postgres/portNT.html

Note that Cygwin PostgreSQL 7.0.3 has other issues -- you may want to
use the latest snapshot or PostgreSQL CVS which builds OOTB on Cygwin.

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com