bug-bison
[Top][All Lists]
Advanced

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

Building the CVS


From: Tim Josling
Subject: Building the CVS
Date: Fri, 06 Jul 2001 21:01:47 +1000

I have tried to build the cvs version of bison.

Problems so far:

In lib/errors.c:56 this line is a forced error which gets called
due to HAVE_DECL_SRERROR_R is not defined by the ./configure.
Commented out the line and proceeded.

In doc/bison.texinfo:4 missing file version.texi. Commented out
line and proceeded.

make check: 

Test 9 Failed near calc.at:335

Later, the test actually dies with this one: 

======================================
./debug-9.sh: Testing Calculator --raw
======================================
./calc.at:335: bison calc.y -o calc.c --raw
./calc.at:335: $CC $CFLAGS calc.c -o calc
./calc.at:335: echo "1 + 2 * 3 = 7
1 + 2 * -3 = -5

-1^2 = -1
(-1)^2 = 1

---1 = -1

1 - 2 - 3 = -4
1 - (2 - 3) = 2

2^2^3 = 256
(2^2)^3 = 64" | calc
--- empty       Fri Jul  6 20:57:36 2001
+++ stderr      Fri Jul  6 20:57:37 2001
@@ -0,0 +1 @@
+parse error
make[2]: *** [check-local] Error 1
make[2]: Leaving directory `/home/tim/bison/tim/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/tim/bison/tim/tests'
make: *** [check-recursive] Error 1

I am running Red Hat GNU/Linux 6.1 (Kernel 2.0). Do I need any
special packages or is the CVS version just broken?
 
Tim Josling



reply via email to

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