I am back at home, and will have some time to look at this. If I recall I had built and 'installed' flex before this last example. I can also install yacc/lex from the AIX set if it is not finding flex.
p.s. I always perform the following generic process: make dist; configure; make; make check On Wed, Sep 4, 2013 at 5:16 PM, Akim Demaille <[email protected]> wrote: > hi Michael, Hi Paul, > > Le 25 août 2013 à 14:02, Michael Felt <[email protected]> a écrit : > > > make check does not get very far --- > > ===== > > root@x094:[/data/prj/gnu/bison/bison-3.0.8.1]make check > > make check-recursive > > Making check in po > > Target "check" is up to date. > > Making check in runtime-po > > Target "check" is up to date. > > Making check in . > > make examples/mfcalc/mfcalc examples/rpcalc/rpcalc > ./tests/bison > > tests/atconfig tests/atlocal > > YACC examples/mfcalc/mfcalc.c > > updating examples/mfcalc/mfcalc.h > > updating examples/mfcalc/mfcalc.output > > CC examples/mfcalc/examples_mfcalc_mfcalc-mfcalc.o > > CCLD examples/mfcalc/mfcalc > > YACC examples/rpcalc/rpcalc.c > > updating examples/rpcalc/rpcalc.h > > updating examples/rpcalc/rpcalc.output > > CC examples/rpcalc/examples_rpcalc_rpcalc-rpcalc.o > > CCLD examples/rpcalc/rpcalc > > Target "./tests/bison" is up to date. > > Target "tests/atconfig" is up to date. > > Target "tests/atlocal" is up to date. > > make check-TESTS check-local > > PASS: examples/mfcalc/mfcalc.test > > PASS: examples/rpcalc/rpcalc.test > > ================== > > All 2 tests passed > > ================== > > ./tests/testsuite -C tests > > make: 1254-004 The error code from the last command is 77. > > I don't know where this one is coming from, it would be > helpful to have more details. What happens if you run > that command directly from the root of your bison directory? > > ./tests/testsuite -C tests > > >> make examples/calc++/calc++ examples/mfcalc/mfcalc > >> examples/rpcalc/rpcalc ./tests/bison tests/atconfig tests/atlocal > >> YACC examples/calc++/calc++-parser.stamp > >> CXX examples/calc++/examples_calc___calc__-calc++-driver.o > >> LEX examples/calc++/calc++-scanner.cc > >> make: 1254-004 The error code from the last command is 1. > > While building Bison does not need Flex, indeed (we ship > the generated file), we do need a lex (not necessarily flex) > to run make check: the examples are extracted and compiled > (including parser and scanner) on the user side. > > We can also skip examples/calc++ if there is not lex (it's the > only example that uses it).
