bison-inst.xml 914 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. <para><screen><userinput>patch -Np1 -i ../bison-1.875-attribute.patch</userinput></screen></para>
  7. <para>Prepare Bison for compilation:</para>
  8. <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
  9. <para>Compile the package:</para>
  10. <para><screen><userinput>make</userinput></screen></para>
  11. <para>This package has a testsuite 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:</para>
  14. <para><screen><userinput>make check</userinput></screen></para>
  15. <para>And install the package:</para>
  16. <para><screen><userinput>make install</userinput></screen></para>
  17. </sect2>