bison.xml 1.1 KB

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