mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
8a5f9064c4
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3234 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
45 lines
1.0 KiB
XML
45 lines
1.0 KiB
XML
<sect1 id="ch-system-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>&buildtime; &bison-time;
|
|
&diskspace; &bison-compsize;</screen>
|
|
|
|
&aa-bison-down;
|
|
&aa-bison-dep;
|
|
|
|
<sect2><title> </title><para> </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>To have the results tested, issue:
|
|
<userinput>make check</userinput>.</para>
|
|
|
|
<para>And install the package:</para>
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
&aa-bison-shortdesc;
|
|
&aa-bison-desc;
|
|
|
|
</sect1>
|
|
|