mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
73aedd1d35
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
43 lines
1.1 KiB
XML
43 lines
1.1 KiB
XML
<sect1 id="ch06-bison">
|
|
<title>Installing Bison-&bison-version;</title>
|
|
<?dbhtml filename="bison.html" dir="chapter06"?>
|
|
|
|
<screen>Estimated build time: &bison-time;
|
|
Estimated required disk space: &bison-compsize;</screen>
|
|
|
|
&aa-bison-shortdesc;
|
|
&aa-bison-dep;
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Bison</title>
|
|
|
|
<para>First we use a patch to bison, backported from CVS, which fixes a minor
|
|
compilation problem with some packages:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../&bison-patch;</userinput></screen>
|
|
|
|
<para>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>
|
|
|
|
</sect1>
|
|
|