Hello, I'm trying to install mdbtools and found this bug with Bison. I'm also a rookie user of linux so don't be afraid of step by set guide.
I' copied the bison-1.875.tar.gz in /usr/local/bin as root tar xvfz bison-1.875.tar.gz ./configure make make check Am I doing things wright? Part of the output of make check here: --- ## ------------------------------------------------- ## ## ERROR: Suite unsuccessful, 2 of 104 tests failed. ## ## ------------------------------------------------- ## You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Now, failed tests will be executed again, verbosely, and logged in the file testsuite.log. ## --------------------------- ## ## GNU Bison 1.875 test suite. ## ## --------------------------- ## 27. reduce.at:212: testing Reduced Automaton... reduce.at:248: bison not-reduced.y reduce.at:260: sed -n '/^Grammar/q;/^$/!p' not-reduced.output reduce.at:287: bison reduced.y reduce.at:291: sed 's/not-reduced/reduced/g' not-reduced.c --- expout 2005-07-29 12:11:40.752510592 +0200 +++ /usr/local/bin/bison-1.875/tests/testsuite.dir/at-stdout 2005-07-29 12:11:40.755510136 +0200 @@ -1166,7 +1166,7 @@ } -#line 10 "reduced.y" +#line 18 "reduced.y" 27. reduce.at:212: FAILED near `reduce.at:291' 34. synclines.at:172: testing Epilogue synch line... synclines.at:172: $CC $CFLAGS $CPPFLAGS -c syncline.c stderr: syncline.c:1:2: #error "1" synclines.at:172: sed 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' stderr stdout: syncline.c:1: #error "1" synclines.at:172: test "`cat stdout`" = 'syncline.c:1: #error "1"' || exit 77 synclines.at:172: bison -o input.c input.y synclines.at:172: $CC $CFLAGS $CPPFLAGS -c input.c stderr: input.y:7:2: #error "8" synclines.at:172: sed 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' stderr stdout: input.y:7: #error "8" synclines.at:172: cat stdout --- - 2005-07-29 12:11:40.918581000 +0200 +++ /usr/local/bin/bison-1.875/tests/testsuite.dir/at-stdout 2005-07-29 12:11:40.916485664 +0200 @@ -1,2 +1,2 @@ -input.y:8: #error "8" +input.y:7: #error "8" 34. synclines.at:172: FAILED near `synclines.at:172' ## ------------------------- ## ## testsuite.log is created. ## ## ------------------------- ## Please send `testsuite.log' and all information you think might help: To: <[email protected]> Subject: [GNU Bison 1.875] testsuite: 27 34 failed make[2]: *** [check-local] Error 1 make[2]: Leaving directory `/usr/local/bin/bison-1.875/tests' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/usr/local/bin/bison-1.875/tests' make: *** [check-recursive] Error 1 --- Thank you very much in advance. Juan
