From: Matthias A. <mat...@gm...> - 2019-03-04 17:07:35
|
Am 04.03.19 um 14:08 schrieb Ralph Corderoy: > Hi Globe, > >>> It's from yacc(1), which may be provided by bison(1) on your system. >>> I'm guessing `%destructor' is not understood by your yacc or bison. >> Thanks! How do I fix it? > Matthias has since said bison is required so have ./configure prefer > bison over byacc. I now see README.git says bison is required. > Arguably, the configure script shouldn't settle for byacc if it's not > suitable. > > If ./configure doesn't allow that, then consider temporarily > uninstalling the byacc package. > Configure should automatically prefer Bison over Yacc; in doubt, "rm -f config.cache" and then re-configure. Quoting autoconf.info on Fedora Linux 29 (autoconf 2.69): > -- Macro: AC_PROG_YACC > If `bison' is found, set output variable `YACC' to `bison -y'. > Otherwise, if `byacc' is found, set `YACC' to `byacc'. Otherwise > set `YACC' to `yacc'. The result of this test can be influenced > by setting the variable `YACC' or the cache variable > `ac_cv_prog_YACC'. |