On Tue, 16 Jan 2007 06:18:20 +0800, Bruce Momjian <bruce@momjian.us> wrote:
>> (2) File blibpqdll.def is missing. I then got one from
>> http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/postgres/postgresql-8.1.4/src/interfaces/libpq/blibpqdll.def
>>
>> Then it compiles fine and appears to work with _old_ libwine.
>
> Uh, it is supposed to be build by this rule:
>
> $(srcdir)/blibpqdll.def: exports.txt
> echo '; DEF file for Borland C++ Builder' > $@
> echo 'LIBRARY BLIBPQ' >> $@
> echo 'EXPORTS' >> $@
> sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ _\1@ \2/' < $<
> >> $@
> echo '' >> $@
> echo '; Aliases for MS compatible names' >> $@
> sed -e '/^#/d' -e 's/^\(.* \)\([0-9][0-9]*\)/ \1= _\1/' < $<
> | sed 's/ *$$//' >> $@
>
> Is there a reason this failed?
Oops! Probably it is because I didn't run "configure" in advance. Maybe
MinGW or Cygwin is mandatory as I guess BCB doesn't come with "sed"
although pgsql document says they are optional if only client library is
to be built in Windowz.
>
>> By the way, I have not received any response to BUG #2827. Hopefully
>> someone will help.
>
> Yes, I saw that. It is not clear whether this is a libpq problem or a
> Wine problem. We are unsure how to debug this. I wonder whether it is
> a problem with getaddrinfo. We did fix an addrinfo issue in 8.2.1:
>
> * Improve handling of getaddrinfo() on AIX (Tom)
>
> I wonder if that fixes it.
>
That problem remains in the CVS version I checked out about 20 hours ago.
Regards,
CN