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

Re: ECPG CVS version problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Yarra <philip(at)utiba(dot)com>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>,pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG CVS version problems
Date: 2003-06-16 04:35:04
Message-ID: 26338.1055738104@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfacespgsql-patches
Philip Yarra <philip(at)utiba(dot)com> writes:
> I just did a test build on a machine with bison 1.35, and there were no 
> complaints regarding its version

You sure?  I see in configure's output

...
checking whether it is possible to strip libraries... yes
checking for bison... bison -y
configure: WARNING:
*** The installed version of Bison is too old.  PostgreSQL needs
*** Bison version 1.875 or later.
checking for perl... /usr/bin/perl
checking for main in -lbsd... yes
...

which admittedly is easy to miss, but it's there.  (The reason it's not
a hard error is that you don't actually need bison unless you don't have
up-to-date copies of the derived files made by bison.  This should not
be the case when using a snapshot, only when building from a CVS pull.)

> I assume that a way was found to make 
> older versions of bison work

You assume wrong.  Not all the .y files need recent bison, but the ones
that do will fail badly.  The issues are grammar-size limits for bison
less than about 1.50, and outright bison bugs for versions from there to
1.875.  We do not have workarounds.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2003-06-16 05:07:59
Subject: Re: ECPG CVS version problems
Previous:From: Philip YarraDate: 2003-06-16 04:04:55
Subject: Re: ECPG CVS version problems

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-06-16 05:07:59
Subject: Re: ECPG CVS version problems
Previous:From: Philip YarraDate: 2003-06-16 04:04:55
Subject: Re: ECPG CVS version problems

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2003-06-16 05:07:59
Subject: Re: ECPG CVS version problems
Previous:From: Philip YarraDate: 2003-06-16 04:04:55
Subject: Re: ECPG CVS version problems

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