bison.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <sect1 id="ch-system-bison" xreflabel="Bison">
  2. <title>Installing Bison-&bison-version;</title>
  3. <?dbhtml filename="bison.html" dir="chapter06"?>
  4. <para>The Bison package contains a parser generator.</para>
  5. <screen>&buildtime; &bison-time;
  6. &diskspace; &bison-compsize;</screen>
  7. &aa-bison-down;
  8. &aa-bison-dep;
  9. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  10. <sect2>
  11. <title>Installation of Bison</title>
  12. <para>First fix a minor compilation problem that Bison has with some packages,
  13. the patch is backported from CVS:</para>
  14. <screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen>
  15. <para>Now prepare Bison for compilation:</para>
  16. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  17. <para>Compile the package:</para>
  18. <screen><userinput>make</userinput></screen>
  19. <para>This package has a test suite available which can perform a number of
  20. checks to ensure it built correctly. Should you choose to run it, the
  21. following command will do so (and takes a long time):</para>
  22. <screen><userinput>make check</userinput></screen>
  23. <para>And install the package:</para>
  24. <screen><userinput>make install</userinput></screen>
  25. </sect2>
  26. &aa-bison-shortdesc;
  27. &aa-bison-desc;
  28. </sect1>