Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 5C91A9FB1D5 for ; Mon, 15 Jan 2007 23:08:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 21005-03 for ; Mon, 15 Jan 2007 23:08:20 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id E01239FB1E5 for ; Mon, 15 Jan 2007 23:08:25 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 20D7330E1C; Tue, 16 Jan 2007 04:08:24 +0100 (MET) From: CN X-Newsgroups: pgsql.interfaces Subject: Re: BCC55 and libpq 8.2 Date: Tue, 16 Jan 2007 11:09:36 +0800 Organization: Hub.Org Networking Services Lines: 58 Message-ID: References: <200701152218.l0FMIKU00368@momjian.us> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=big5 Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: usenet@news.hub.org User-Agent: Opera Mail/9.10 (Linux) To: pgsql-interfaces@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50 X-Spam-Level: X-Archive-Number: 200701/24 X-Sequence-Number: 6402 On Tue, 16 Jan 2007 06:18:20 +0800, Bruce Momjian wro= te: >> (2) File blibpqdll.def is missing. I then got one from >> http://src.opensolaris.org/source/xref/sfw/usr/src/cmd/postgres/postg= resql-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=3D _\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 i= s > 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