source:
chapter06/bison-inst.xml@
4b8a426
Last change on this file since 4b8a426 was df21e1e, checked in by , 21 years ago | |
---|---|
|
|
File size: 924 bytes |
Rev | Line | |
---|---|---|
[b7d9d404] | 1 | <sect2><title> </title><para> </para></sect2> |
2 | ||
[6370fa6] | 3 | <sect2> |
4 | <title>Installation of Bison</title> | |
5 | ||
[54df5b44] | 6 | <para>First we use a patch to bison, backported from CVS, which fixes a minor |
[1e163254] | 7 | compilation problem with some packages:</para> |
[54df5b44] | 8 | |
[df21e1e] | 9 | <para><screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen></para> |
[54df5b44] | 10 | |
[89fcc34] | 11 | <para>Prepare Bison for compilation:</para> |
[b7d9d404] | 12 | |
13 | <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> | |
14 | ||
[89fcc34] | 15 | <para>Compile the package:</para> |
[b7d9d404] | 16 | |
17 | <para><screen><userinput>make</userinput></screen></para> | |
18 | ||
[39dbad2] | 19 | <para>This package has a test suite available which can perform a number of |
[0841437] | 20 | checks to ensure it built correctly. Should you choose to run it, the |
[c84ddd9] | 21 | following command will do so (and takes a long time):</para> |
[89fcc34] | 22 | |
[4a7a683] | 23 | <para><screen><userinput>make check</userinput></screen></para> |
24 | ||
[89fcc34] | 25 | <para>And install the package:</para> |
[6370fa6] | 26 | |
[b7d9d404] | 27 | <para><screen><userinput>make install</userinput></screen></para> |
[6370fa6] | 28 | |
29 | </sect2> | |
30 |
Note:
See TracBrowser
for help on using the repository browser.