source: general/genutils/bc.xml@ 225c1cc

10.0 10.1 11.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 225c1cc was 225c1cc, checked in by Igor Živković <igor@…>, 17 years ago

Added a test suite note to bc.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3659 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
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">
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">
13]>
14
15<sect1 id="bc" xreflabel="bc-&bc-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="bc.html"?>
21<title>bc-&bc-version;</title>
22<indexterm zone="bc">
23<primary sortas="a-Bc">Bc</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>bc</application></title>
27
28<para>The <application>bc</application> package contains
29an arbitrary precision numeric processing language.</para>
30
31<sect3><title>Package information</title>
32<itemizedlist spacing='compact'>
33<listitem><para>Download (HTTP): <ulink
34url="&bc-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&bc-download-ftp;"/></para></listitem>
37<listitem><para>Download MD5 sum: &bc-md5sum;</para></listitem>
38<listitem><para>Download size: &bc-size;</para></listitem>
39<listitem><para>Estimated disk space required:
40&bc-buildsize;</para></listitem>
41<listitem><para>Estimated build time:
42&bc-time;</para></listitem></itemizedlist>
43</sect3>
44
45<sect3><title>Additional downloads</title>
46<itemizedlist spacing='compact'>
47<listitem><para>Required patch: <ulink
48url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
49<listitem><para>Required patch: <ulink
50url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
51</itemizedlist></sect3>
52
53<sect3><title><application>bc</application> dependencies</title>
54<sect4><title>Optional</title>
55<para><ulink
56url="http://sourceforge.net/projects/libedit/">libedit</ulink>
57(as an alternative to readline)</para></sect4>
58</sect3>
59
60</sect2>
61
62<sect2>
63<title>Installation of <command>bc</command></title>
64
65<para>Install <application>bc</application> by running the following commands:</para>
66
67<screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &amp;&amp;
68patch -Np1 -i ../bc-&bc-version;-readline-1.patch &amp;&amp;
69./configure --prefix=/usr --with-readline &amp;&amp;
70make</command></userinput></screen>
71
72<para>This package does not come with a test suite.</para>
73
74<para>Now, as the root user:</para>
75
76<screen><userinput role='root'><command>make install</command></userinput></screen>
77
78</sect2>
79
80<sect2>
81<title>Contents</title>
82
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>
115
116</sect2>
117
118</sect1>
119
Note: See TracBrowser for help on using the repository browser.