Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-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

pgsql-patches by date

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

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2007-01-16 04:49:34
Subject: Re: BCC55 and libpq 8.2
Previous:From: L BayukDate: 2007-01-16 01:31:18
Subject: Re: BCC55 and libpq 8.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group