Re: BCC55 and libpq 8.2

From: CN <cnliou9(at)fastmail(dot)fm>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: BCC55 and libpq 8.2
Date: 2007-01-16 03:09:36
Message-ID: op.tl78eakjgrsbbc@develop.internal.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-patches

On Tue, 16 Jan 2007 06:18:20 +0800, Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2007-01-16 04:49:34 Re: BCC55 and libpq 8.2
Previous Message L Bayuk 2007-01-16 01:31:18 Re: BCC55 and libpq 8.2

Browse pgsql-patches by date

  From Date Subject
Next Message Pavel Stehule 2007-01-16 04:33:45 Re: scrollable cursor sup. for SPI
Previous Message Tom Lane 2007-01-16 02:52:53 Re: [HACKERS] Autovacuum improvements