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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 225c1cc was 225c1cc, checked in by Igor Živković <igor@…>, 19 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
RevLine 
[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
29an 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
34url="&bc-download-http;"/></para></listitem>
35<listitem><para>Download (FTP): <ulink
36url="&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]48url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
[225c1cc]49<listitem><para>Required patch: <ulink
[14d6b3e0]50url="&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
56url="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 &amp;&amp;
68patch -Np1 -i ../bc-&bc-version;-readline-1.patch &amp;&amp;
[52d29f7]69./configure --prefix=/usr --with-readline &amp;&amp;
[12711449]70make</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
Note: See TracBrowser for help on using the repository browser.