[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 |
|
---|
[b96124dd] | 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">
|
---|
| 9 | <!ENTITY bc-md5sum "d44b5dddebd8a7a7309aea6c36fda117">
|
---|
| 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;">
|
---|
[b96124dd] | 16 | <?dbhtml filename="bc.html"?>
|
---|
[fc7afd0c] | 17 |
|
---|
[b96124dd] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[52d50d5] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">bc-&bc-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">bc</keyword>
|
---|
[52d50d5] | 24 | </keywordset>
|
---|
[b96124dd] | 25 | </sect1info>
|
---|
[fc7afd0c] | 26 |
|
---|
[b96124dd] | 27 | <title>Bc-&bc-version;</title>
|
---|
[fc7afd0c] | 28 |
|
---|
[b96124dd] | 29 | <indexterm zone="bc">
|
---|
| 30 | <primary sortas="a-Bc">Bc</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to Bc</title>
|
---|
[fc7afd0c] | 35 |
|
---|
[b96124dd] | 36 | <para>The <application>bc</application> package contains
|
---|
| 37 | an arbitrary precision numeric processing language.</para>
|
---|
[fc7afd0c] | 38 |
|
---|
[b96124dd] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&bc-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&bc-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &bc-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &bc-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &bc-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &bc-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[fc7afd0c] | 60 |
|
---|
[b96124dd] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing='compact'>
|
---|
| 63 | <listitem>
|
---|
[8d77de6] | 64 | <para>Required patch: <ulink
|
---|
[b96124dd] | 65 | url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[8d77de6] | 68 | <para>Required patch: <ulink
|
---|
[b96124dd] | 69 | url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
[fc7afd0c] | 72 |
|
---|
[b96124dd] | 73 | <bridgehead renderas="sect3">Bc Dependencies</bridgehead>
|
---|
[fc7afd0c] | 74 |
|
---|
[b96124dd] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[52d50d5] | 76 | <para role="optional"><ulink url="http://sourceforge.net/projects/libedit/">libedit</ulink>
|
---|
[b96124dd] | 77 | (as an alternative to readline)</para>
|
---|
[fc7afd0c] | 78 |
|
---|
[b96124dd] | 79 | </sect2>
|
---|
[fc7afd0c] | 80 |
|
---|
[88adcdd] | 81 | <sect2 role="installation">
|
---|
[b96124dd] | 82 | <title>Installation of Bc</title>
|
---|
| 83 |
|
---|
| 84 | <para>Install <application>bc</application> by running the following commands:</para>
|
---|
| 85 |
|
---|
| 86 | <screen><userinput>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &&
|
---|
[14d6b3e0] | 87 | patch -Np1 -i ../bc-&bc-version;-readline-1.patch &&
|
---|
[52d29f7] | 88 | ./configure --prefix=/usr --with-readline &&
|
---|
[b96124dd] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
| 91 | <para>This package does not come with a test suite.</para>
|
---|
[fc7afd0c] | 92 |
|
---|
[b96124dd] | 93 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 94 |
|
---|
[b96124dd] | 95 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 96 |
|
---|
[b96124dd] | 97 | </sect2>
|
---|
[fc7afd0c] | 98 |
|
---|
[b96124dd] | 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Libraries</segtitle>
|
---|
| 105 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 106 |
|
---|
[b96124dd] | 107 | <seglistitem>
|
---|
| 108 | <seg>bc and dc</seg>
|
---|
| 109 | <seg>None</seg>
|
---|
| 110 | <seg>None</seg>
|
---|
| 111 | </seglistitem>
|
---|
| 112 | </segmentedlist>
|
---|
[fc7afd0c] | 113 |
|
---|
[b96124dd] | 114 | <variablelist>
|
---|
| 115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 116 | <?dbfo list-presentation="list"?>
|
---|
| 117 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 118 |
|
---|
[b96124dd] | 119 | <varlistentry id="bc-prog">
|
---|
| 120 | <term><command>bc</command></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>is a calculator.</para>
|
---|
| 123 | <indexterm zone="bc bc-prog">
|
---|
| 124 | <primary sortas="b-bc">bc</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
[fc7afd0c] | 128 |
|
---|
[b96124dd] | 129 | <varlistentry id="dc">
|
---|
| 130 | <term><command>dc</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para>is a reverse-polish calculator.</para>
|
---|
| 133 | <indexterm zone="bc dc">
|
---|
| 134 | <primary sortas="b-dc">dc</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
[fc7afd0c] | 138 |
|
---|
[b96124dd] | 139 | </variablelist>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
[52d29f7] | 142 |
|
---|
| 143 | </sect1>
|
---|
| 144 |
|
---|