bug-bison
[Top][All Lists]
Advanced

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

Re: compiling bison-3.0 on AIX 5.3


From: Akim Demaille
Subject: Re: compiling bison-3.0 on AIX 5.3
Date: Wed, 4 Sep 2013 17:16:15 +0200

hi Michael, Hi Paul,

Le 25 août 2013 à 14:02, Michael Felt <address@hidden> a écrit :

> make check does not get very far ---
> =====
> address@hidden:[/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).


reply via email to

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