Installed
programs: bison and
yacc
Installed
library: liby.a
The Bison package contains a parser generator.
Prepare Bison for compilation:
./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
--prefix=/usr
The configure system causes bison to be built without support for internationalization of error messages if a bison program is not already in ${PATH}. The following addition will correct this:
echo '#define YYENABLE_NLS 1' >> config.h
Compile the package:
make
Install the package:
make DESTDIR=${CLFS} install