bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bison version check error: "./configure: bad math expression: unbalanced


From: R Blake
Subject: bison version check error: "./configure: bad math expression: unbalanced stack"
Date: Sun, 07 Jul 2002 12:08:36 -0700

bison configure reports version check errors at:

(initial config)
.....
checking for bison... bison -y
checking bison version... ./configure: bad math expression: unbalanced stack [14411]
checking for flex... flex
.....

and,

(Configuring Zend)
.....
checking bison version... ./configure: bad math expression: unbalanced stack [99981]
checking for limits.h... (cached) yes
checking malloc.h usability... yes
.....

in both cases, the culprit seems to be the following test for Bison version in configure:

echo $ECHO_N "checking bison version... $ECHO_C" >&6
set `bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'`
   if test "${1}" = "1" -a "${2}" -lt "28"; then
{ echo "$as_me:$LINENO: WARNING: You will need bison 1.28 if you want to echo "$as_me: WARNING: You will need bison 1.28 if you want to regenerate the Ze

note that

bison --version| grep 'GNU Bison' | cut -d ' ' -f 4 | sed -e 's/\./ /'

reports back:

1 49a


richard




reply via email to

[Prev in Thread] Current Thread [Next in Thread]