[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY bc-download-http "http://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
---|
| 8 | <!ENTITY bc-download-ftp "ftp://ftp.gnu.org/gnu/bc/bc-&bc-version;.tar.gz">
|
---|
[93d2c72] | 9 | <!ENTITY bc-md5sum "d44b5dddebd8a7a7309aea6c36fda117">
|
---|
[12711449] | 10 | <!ENTITY bc-size "278 KB">
|
---|
| 11 | <!ENTITY bc-buildsize "2.31 MB">
|
---|
| 12 | <!ENTITY bc-time "0.04 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="bc" xreflabel="bc-&bc-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[52d29f7] | 20 | <?dbhtml filename="bc.html"?>
|
---|
| 21 | <title>bc-&bc-version;</title>
|
---|
[12711449] | 22 | <indexterm zone="bc">
|
---|
| 23 | <primary sortas="a-Bc">Bc</primary></indexterm>
|
---|
[52d29f7] | 24 |
|
---|
| 25 | <sect2>
|
---|
| 26 | <title>Introduction to <application>bc</application></title>
|
---|
[14d6b3e0] | 27 |
|
---|
[52d29f7] | 28 | <para>The <application>bc</application> package contains
|
---|
| 29 | an arbitrary precision numeric processing language.</para>
|
---|
[14d6b3e0] | 30 |
|
---|
[52d29f7] | 31 | <sect3><title>Package information</title>
|
---|
| 32 | <itemizedlist spacing='compact'>
|
---|
| 33 | <listitem><para>Download (HTTP): <ulink
|
---|
| 34 | url="&bc-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink
|
---|
| 36 | url="&bc-download-ftp;"/></para></listitem>
|
---|
[93d2c72] | 37 | <listitem><para>Download MD5 sum: &bc-md5sum;</para></listitem>
|
---|
[52d29f7] | 38 | <listitem><para>Download size: &bc-size;</para></listitem>
|
---|
[518538f] | 39 | <listitem><para>Estimated disk space required:
|
---|
[52d29f7] | 40 | &bc-buildsize;</para></listitem>
|
---|
| 41 | <listitem><para>Estimated build time:
|
---|
| 42 | &bc-time;</para></listitem></itemizedlist>
|
---|
| 43 | </sect3>
|
---|
[14d6b3e0] | 44 |
|
---|
[52d29f7] | 45 | <sect3><title>Additional downloads</title>
|
---|
| 46 | <itemizedlist spacing='compact'>
|
---|
[225c1cc] | 47 | <listitem><para>Required patch: <ulink
|
---|
[14d6b3e0] | 48 | url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
|
---|
[225c1cc] | 49 | <listitem><para>Required patch: <ulink
|
---|
[14d6b3e0] | 50 | url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
|
---|
[52d29f7] | 51 | </itemizedlist></sect3>
|
---|
[14d6b3e0] | 52 |
|
---|
[225c1cc] | 53 | <sect3><title><application>bc</application> dependencies</title>
|
---|
| 54 | <sect4><title>Optional</title>
|
---|
| 55 | <para><ulink
|
---|
| 56 | url="http://sourceforge.net/projects/libedit/">libedit</ulink>
|
---|
| 57 | (as an alternative to readline)</para></sect4>
|
---|
| 58 | </sect3>
|
---|
| 59 |
|
---|
[52d29f7] | 60 | </sect2>
|
---|
| 61 |
|
---|
| 62 | <sect2>
|
---|
| 63 | <title>Installation of <command>bc</command></title>
|
---|
[14d6b3e0] | 64 |
|
---|
[225c1cc] | 65 | <para>Install <application>bc</application> by running the following commands:</para>
|
---|
[14d6b3e0] | 66 |
|
---|
| 67 | <screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &&
|
---|
| 68 | patch -Np1 -i ../bc-&bc-version;-readline-1.patch &&
|
---|
[52d29f7] | 69 | ./configure --prefix=/usr --with-readline &&
|
---|
[12711449] | 70 | make</command></userinput></screen>
|
---|
[14d6b3e0] | 71 |
|
---|
[225c1cc] | 72 | <para>This package does not come with a test suite.</para>
|
---|
| 73 |
|
---|
[12711449] | 74 | <para>Now, as the root user:</para>
|
---|
[14d6b3e0] | 75 |
|
---|
[12711449] | 76 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
[14d6b3e0] | 77 |
|
---|
[52d29f7] | 78 | </sect2>
|
---|
[14d6b3e0] | 79 |
|
---|
[12711449] | 80 | <sect2>
|
---|
| 81 | <title>Contents</title>
|
---|
[14d6b3e0] | 82 |
|
---|
[12711449] | 83 | <segmentedlist>
|
---|
| 84 | <segtitle>Installed Programs</segtitle>
|
---|
| 85 | <segtitle>Installed Libraries</segtitle>
|
---|
| 86 | <segtitle>Installed Directories</segtitle>
|
---|
| 87 |
|
---|
| 88 | <seglistitem>
|
---|
| 89 | <seg>bc and dc</seg>
|
---|
| 90 | <seg>None</seg>
|
---|
| 91 | <seg>None</seg>
|
---|
| 92 | </seglistitem>
|
---|
| 93 | </segmentedlist>
|
---|
| 94 |
|
---|
| 95 | <variablelist>
|
---|
| 96 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 97 | <?dbfo list-presentation="list"?>
|
---|
| 98 |
|
---|
| 99 | <varlistentry id="bc-prog">
|
---|
| 100 | <term><command>bc</command></term>
|
---|
| 101 | <listitem><para>is a calculator.</para>
|
---|
| 102 | <indexterm zone="bc bc-prog">
|
---|
| 103 | <primary sortas="b-bc">bc</primary>
|
---|
| 104 | </indexterm></listitem>
|
---|
| 105 | </varlistentry>
|
---|
| 106 |
|
---|
| 107 | <varlistentry id="dc">
|
---|
| 108 | <term><command>dc</command></term>
|
---|
| 109 | <listitem><para>is a reverse-polish calculator.</para>
|
---|
| 110 | <indexterm zone="bc dc">
|
---|
| 111 | <primary sortas="b-dc">dc</primary>
|
---|
| 112 | </indexterm></listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 | </variablelist>
|
---|
[14d6b3e0] | 115 |
|
---|
[52d29f7] | 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | </sect1>
|
---|
| 119 |
|
---|