GMP repository: "make" failure if yacc is not available

Vincent Lefevre vincent at vinc17.net
Tue May 14 09:52:17 CEST 2024


I'm trying to build GMP from its repository (18472:1040c6303455)
on a new machine, and "make" gives the following error:

make[3]: Entering directory '/home/vinc17/software/gmp/demos/calc'
test -f calc.c || /bin/sh ../../ylwrap calc.y y.tab.c calc.c y.tab.h `echo calc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output calc.output -- yacc -d 
../../ylwrap: 176: yacc: not found
make[3]: *** [Makefile:459: calc.c] Error 127

Is yacc a new requirement? If it is, it should be checked by the
configure script.

Note that neither yacc nor bison is mentioned as needed by "README.HG",
in case this is specific to the use of the hg repository.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-bugs mailing list