| 123456789101112131415161718192021222324252627282930 | <sect2><title>Installation of Bison</title><para>Install Bison by running the following commands:</para><para><screen><userinput>./configure --prefix=/usr \</userinput><userinput>   --datadir=/usr/share/bison &&</userinput><userinput>make &&</userinput><userinput>make install</userinput></screen></para><para>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 fewprograms out there we'll create a yacc script that calls bison and haveit emulate yacc's output file name conventions.</para><para>Create a new file <filename>/usr/bin/yacc</filename> by running thefollowing:</para><para><screen><userinput>cat > /usr/bin/yacc << "EOF"</userinput>#!/bin/sh# Begin /usr/bin/yaccexec /usr/bin/bison -y "$@"# End /usr/bin/yacc<userinput>EOF</userinput><userinput>chmod 755 /usr/bin/yacc</userinput></screen></para></sect2>
 |