aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/bison-inst.xml
blob: 3eb085a32139ca38fceab3d566c757f5c0c2a39d (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
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>

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

<para>First we use a patch to bison, backported from CVS, which fixes a minor
compliation problem with some packages:</para>

<para><screen><userinput>patch -Np1 -i ../bison-1.875-attribute.patch</userinput></screen></para>

<para>Prepare Bison for compilation:</para>

<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>

<para>Compile the package:</para>

<para><screen><userinput>make</userinput></screen></para>

<para>Test the results:</para>

<para><screen><userinput>make check</userinput></screen></para>

<para>And install the package:</para>

<para><screen><userinput>make install</userinput></screen></para>

</sect2>