X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 3899D30ED88; Mon, 16 Jun 2003 05:08:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 42259-02; Mon, 16 Jun 2003 02:08:15 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 6C42930EC38; Mon, 16 Jun 2003 02:08:14 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h5G57xu20800; Mon, 16 Jun 2003 01:07:59 -0400 (EDT) From: Bruce Momjian Message-Id: <200306160507.h5G57xu20800@candle.pha.pa.us> Subject: Re: ECPG CVS version problems In-Reply-To: <26338.1055738104@sss.pgh.pa.us> To: Tom Lane Date: Mon, 16 Jun 2003 01:07:59 -0400 (EDT) Cc: Philip Yarra , Michael Meskes , pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200306/38 X-Sequence-Number: 4249 I wonder is we should check for *dev on the version string and make missing bison version a hard error in these cases. --------------------------------------------------------------------------- Tom Lane wrote: > Philip Yarra 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 > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073