pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CN <cnliou9@fastmail.fm>
To: pgsql-interfaces@postgresql.org
Subject: Re: BCC55 and libpq 8.2
Date: Tue, 16 Jan 2007 11:09:36 +0800
Message-ID: <op.tl78eakjgrsbbc@develop.internal.com> (raw)
References: <op.tl62dihugrsbbc@develop.internal.com>
	<200701152218.l0FMIKU00368@momjian.us>

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/libp...
>>
>> 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



view thread (16+ messages)  latest in thread

Message-ID: <op.tl78eakjgrsbbc@develop.internal.com>
Permalink:  ../op.tl78eakjgrsbbc@develop.internal.com/
Also on:    postgresql.org/message-id/op.tl78eakjgrsbbc@develop.internal.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: cnliou9@fastmail.fm
  Subject: Re: BCC55 and libpq 8.2
  In-Reply-To: <op.tl78eakjgrsbbc@develop.internal.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox