mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Tagged bc.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3925 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
197c184f74
commit
b96124dd02
@ -4,116 +4,137 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY bc-download-http "http://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
||||
<!ENTITY bc-download-ftp "ftp://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
||||
<!ENTITY bc-md5sum "d44b5dddebd8a7a7309aea6c36fda117">
|
||||
<!ENTITY bc-size "278 KB">
|
||||
<!ENTITY bc-buildsize "2.31 MB">
|
||||
<!ENTITY bc-time "0.04 SBU">
|
||||
<!ENTITY bc-download-http "http://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
||||
<!ENTITY bc-download-ftp "ftp://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
||||
<!ENTITY bc-md5sum "d44b5dddebd8a7a7309aea6c36fda117">
|
||||
<!ENTITY bc-size "278 KB">
|
||||
<!ENTITY bc-buildsize "2.31 MB">
|
||||
<!ENTITY bc-time "0.04 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="bc" xreflabel="bc-&bc-version;">
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
<?dbhtml filename="bc.html"?>
|
||||
<title>bc-&bc-version;</title>
|
||||
<indexterm zone="bc">
|
||||
<primary sortas="a-Bc">Bc</primary></indexterm>
|
||||
<?dbhtml filename="bc.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>Bc-&bc-version;</title>
|
||||
|
||||
<indexterm zone="bc">
|
||||
<primary sortas="a-Bc">Bc</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application>bc</application></title>
|
||||
<sect2 role="package">
|
||||
<title>Introduction to Bc</title>
|
||||
|
||||
<para>The <application>bc</application> package contains
|
||||
an arbitrary precision numeric processing language.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&bc-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&bc-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &bc-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &bc-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &bc-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &bc-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem>
|
||||
<para>Required patch: <ulink
|
||||
url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Required patch: <ulink
|
||||
url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Bc Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para><ulink url="http://sourceforge.net/projects/libedit/">libedit</ulink>
|
||||
(as an alternative to readline)</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="kernel" id='TEMPLATE-kernel'>
|
||||
<title>Installation of Bc</title>
|
||||
|
||||
<para>The <application>bc</application> package contains
|
||||
an arbitrary precision numeric processing language.</para>
|
||||
<para>Install <application>bc</application> by running the following commands:</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink
|
||||
url="&bc-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink
|
||||
url="&bc-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download MD5 sum: &bc-md5sum;</para></listitem>
|
||||
<listitem><para>Download size: &bc-size;</para></listitem>
|
||||
<listitem><para>Estimated disk space required:
|
||||
&bc-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time:
|
||||
&bc-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Required patch: <ulink
|
||||
url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
|
||||
<listitem><para>Required patch: <ulink
|
||||
url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
|
||||
</itemizedlist></sect3>
|
||||
|
||||
<sect3><title><application>bc</application> dependencies</title>
|
||||
<sect4><title>Optional</title>
|
||||
<para><ulink
|
||||
url="http://sourceforge.net/projects/libedit/">libedit</ulink>
|
||||
(as an alternative to readline)</para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <command>bc</command></title>
|
||||
|
||||
<para>Install <application>bc</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &&
|
||||
<screen><userinput>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &&
|
||||
patch -Np1 -i ../bc-&bc-version;-readline-1.patch &&
|
||||
./configure --prefix=/usr --with-readline &&
|
||||
make</command></userinput></screen>
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>bc and dc</seg>
|
||||
<seg>None</seg>
|
||||
<seg>None</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="bc-prog">
|
||||
<term><command>bc</command></term>
|
||||
<listitem>
|
||||
<para>is a calculator.</para>
|
||||
<indexterm zone="bc bc-prog">
|
||||
<primary sortas="b-bc">bc</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="dc">
|
||||
<term><command>dc</command></term>
|
||||
<listitem>
|
||||
<para>is a reverse-polish calculator.</para>
|
||||
<indexterm zone="bc dc">
|
||||
<primary sortas="b-dc">dc</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>bc and dc</seg>
|
||||
<seg>None</seg>
|
||||
<seg>None</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
|
||||
<varlistentry id="bc-prog">
|
||||
<term><command>bc</command></term>
|
||||
<listitem><para>is a calculator.</para>
|
||||
<indexterm zone="bc bc-prog">
|
||||
<primary sortas="b-bc">bc</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="dc">
|
||||
<term><command>dc</command></term>
|
||||
<listitem><para>is a reverse-polish calculator.</para>
|
||||
<indexterm zone="bc dc">
|
||||
<primary sortas="b-dc">dc</primary>
|
||||
</indexterm></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user