Chet Ramey <[email protected]> writes:
>> ./parse.y:501.23-27: symbol YYEOF is used, but is not defined as a
>> token and has no rules
>
> This means your bison is too old. configure should have told you.
This is a common MacOS issue. Since Apple is allergic to GPLv3+. See:
$ /usr/bin/bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
One can get a modern version of Bison from homebrew:
$ /opt/homebrew/Cellar/bison/3.8.2/bin/bison --version
bison (GNU Bison) 3.8.2
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The same goes for many programs e.g. bash and make.
Collin