Re: ECPG CVS version problems

From: Philip Yarra <philip(at)utiba(dot)com>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG CVS version problems
Date: 2003-06-16 01:10:58
Message-ID: 200306161110.58418.philip@utiba.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces pgsql-patches

On Sun, 15 Jun 2003 09:06 pm, you wrote:
> [Sorry for the late answer. Somehow I didn't notice your mail wainting
> for an answer.]

No problems, I'd kinda forgotten myself.

> On Tue, Apr 22, 2003 at 01:45:40PM +1000, Philip Yarra wrote:
> > Bison 1.35 and 1.50 both have bugs that prevent successful compilation,
> > so I moved to 1.85. This appears to work okay. Is there some way during
> > configure to check for broken bison versions and complain loudly?
>
> Not that I know of.

I wondered if we could do something like:
BISON_VERSION=`bison -V | head -n 1 | awk '{print $4 }'`
during configure, compare the result to known buggy versions, and take some
sort of action based on that? I haven't delved into configure though, so not
sure how to implement "some sort of action".

I think it is fairly important to try to detect these buggy bisons if the same
problem will be exposed in release versions of the source - it cost me quite
a few hours trying to figure out why make was failing. I'd like to save other
people the hassle (and that list would include people running RedHat Linux
7.3, which includes the bison 1.35).

Regards, Philip.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-16 02:49:34 Re: ECPG CVS version problems
Previous Message Jan Wieck 2003-06-16 00:12:54 Re: Data recovery - URGENT

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2003-06-16 02:49:34 Re: ECPG CVS version problems
Previous Message Michael Meskes 2003-06-15 11:00:03 Re: [Fwd: PREPARE in ECPG]

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-06-16 02:49:34 Re: ECPG CVS version problems
Previous Message deststar 2003-06-15 15:27:53 ecpg compile (compatlib)