From: | Gerhard Häring <gerhard(dot)nospam(at)bigfoot(dot)de> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Problem creating native win32 libraries |
Date: | 2000-12-18 03:15:34 |
Message-ID: | 3A3D8156.1E4C8C0F@bigfoot.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I need a native win32 build of libpq (not cygwin). I built one with
nmake -f win32.mak in the postgres toplevel directory (version 7.0.2,
cos I found that on my Linux distro). When running the I libpq test
program, however, I always get the following error:
Connection to database 'testdb' failed.
connectDBStart() -- unknown hostname: 192.168.2.1
(Yes, a PostgreSQL instance is running on that host, and the test
program works when compiled and run under Linux)
I alwys get unknown hostname, no matter which host I supply, by name, by
IP, whatever. Are there known problems with building native win32 libpq?
I use MSVC 6 SP4 on Windows NT 5^h 2000 SP1. Can somebody please
enlighten me? A working win32 libpq build would also be appreciated :-)
Gerhard
--
Sorry for the fake email, please use the real one below to reply.
contact: g e r h a r d @ b i g f o o t . d e
web: http://highqualdev.com
From | Date | Subject | |
---|---|---|---|
Next Message | vs | 2000-12-18 04:43:23 | LM devel GLIB2_2 |
Previous Message | Brett W. McCoy | 2000-12-17 22:56:57 | Whoohoo! |