Re: Error-out on compiling current CVS: preproc

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Error-out on compiling current CVS: preproc
Date: 2004-08-09 01:59:58
Message-ID: 200408090159.i791xwE12621@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus wrote:
> Folks,
>
> Update on this: Just tried it with:
> SuSE 9.1, GCC 3.3.3, Bison 1.875
> and don't get the error.
>
> So it looks like the requirement for Bison 1.85+ is now a "hard" requirement?
> We'll need to document this, since SuSE 9.0 is less than a year old, and I'm
> sure some other distros are still using 1.75.

I see in configure.in:

AC_CHECK_PROGS(YACC, ['bison -y'])

if test "$YACC"; then
if $YACC --version | sed q | $AWK '{ if ($4 < 1.875) exit 0; else exit 1;}'; then
AC_MSG_WARN([
*** If you are going to modify the grammar files or build from CVS, the installed
*** version of Bison is too old. Bison version 1.875 or later is required.])
fi
fi

Looks documented to me.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2004-08-09 02:04:05 Re: listing triggers
Previous Message Bruce Momjian 2004-08-09 01:57:17 Re: Ready for Beta ... ?