aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison.xml
blob: 17e298523b7fa83f7d0da04f04205c4440e551e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<sect1 id="ch06-bison" xreflabel="Bison">
<title>Installing Bison-&bison-version;</title>
<?dbhtml filename="bison.html" dir="chapter06"?>

<para>The Bison package contains a parser generator.</para>

<screen>Estimated build time:           &bison-time;
Estimated required disk space:  &bison-compsize;</screen>

&aa-bison-down;
&aa-bison-dep;

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

<sect2>
<title>Installation of Bison</title>

<para>First fix a minor compilation problem that Bison has with some packages,
the patch is backported from CVS:</para>

<screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen>

<para>Now prepare Bison for compilation:</para>

<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>

&aa-bison-shortdesc;
&aa-bison-desc;

</sect1>