2004-01-12 23:23:50 +00:00
|
|
|
<sect1 id="ch06-bison" xreflabel="Bison">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Bison-&bison-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="bison.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The Bison package contains a parser generator.</para>
|
|
|
|
|
2004-01-27 22:27:44 +00:00
|
|
|
<screen>&buildtime; &bison-time;
|
|
|
|
&diskspace; &bison-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-bison-down;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-bison-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bison</title>
|
|
|
|
|
2003-11-15 11:47:13 +00:00
|
|
|
<para>First fix a minor compilation problem that Bison has with some packages,
|
|
|
|
the patch is backported from CVS:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen>
|
|
|
|
|
2003-11-15 11:47:13 +00:00
|
|
|
<para>Now prepare Bison for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr</userinput></screen>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package has a test suite available which can perform a number of
|
|
|
|
checks to ensure it built correctly. Should you choose to run it, the
|
|
|
|
following command will do so (and takes a long time):</para>
|
|
|
|
|
|
|
|
<screen><userinput>make check</userinput></screen>
|
|
|
|
|
|
|
|
<para>And install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-bison-shortdesc;
|
|
|
|
&aa-bison-desc;
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect1>
|
|
|
|
|