Installation of Bison
Install Bison by running the following commands:
./configure --prefix=/usr \
--datadir=/usr/share/bison
&&
make &&
make install
Some programs don't know about bison and try to find the yacc program
(bison is a (better) alternative for yacc). So to please those few
programs out there we'll create a yacc script that calls bison and have
it emulate yacc's output file name conventions).
Create a new file /usr/bin/yacc by running the
following:
cat > /usr/bin/yacc << "EOF"
#!/bin/sh
# Begin /usr/bin/yacc
/usr/bin/bison -y "$@"
# End /usr/bin/yacc
EOF
chmod 755 /usr/bin/yacc