bison-inst.xml 859 B

123456789101112131415161718192021222324252627282930
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Installation of Bison</title>
  4. <para>First we use a patch to bison, backported from CVS, which fixes a minor
  5. compilation problem with some packages:</para>
  6. <screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen>
  7. <para>Prepare Bison for compilation:</para>
  8. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  9. <para>Compile the package:</para>
  10. <screen><userinput>make</userinput></screen>
  11. <para>This package has a test suite available which can perform a number of
  12. checks to ensure it built correctly. Should you choose to run it, the
  13. following command will do so (and takes a long time):</para>
  14. <screen><userinput>make check</userinput></screen>
  15. <para>And install the package:</para>
  16. <screen><userinput>make install</userinput></screen>
  17. </sect2>