source: general/genutils/bc.xml@ 12711449

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 12711449 was 12711449, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated build entities and added indexing tags to bc

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

  • Property mode set to 100644
File size: 3.2 KB
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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">
[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'>
[12711449]47<listitem><para>Required Patch: <ulink
[14d6b3e0]48url="&patch-root;/bc-&bc-version;-flex_invocation-1.patch"/></para></listitem>
[12711449]49<listitem><para>Required Patch: <ulink
[14d6b3e0]50url="&patch-root;/bc-&bc-version;-readline-1.patch"/></para></listitem>
[52d29f7]51</itemizedlist></sect3>
[14d6b3e0]52
[52d29f7]53</sect2>
54
55<sect2>
56<title>Installation of <command>bc</command></title>
[14d6b3e0]57
[52d29f7]58<para>Install <command>bc</command> by running the following commands:</para>
[14d6b3e0]59
60<screen><userinput><command>patch -Np1 -i ../bc-&bc-version;-flex_invocation-1.patch &amp;&amp;
61patch -Np1 -i ../bc-&bc-version;-readline-1.patch &amp;&amp;
[52d29f7]62./configure --prefix=/usr --with-readline &amp;&amp;
[12711449]63make</command></userinput></screen>
[14d6b3e0]64
[12711449]65<para>Now, as the root user:</para>
[14d6b3e0]66
[12711449]67<screen><userinput role='root'><command>make install</command></userinput></screen>
[14d6b3e0]68
[52d29f7]69</sect2>
[14d6b3e0]70
[12711449]71<sect2>
72<title>Contents</title>
[14d6b3e0]73
[12711449]74<segmentedlist>
75<segtitle>Installed Programs</segtitle>
76<segtitle>Installed Libraries</segtitle>
77<segtitle>Installed Directories</segtitle>
78
79<seglistitem>
80<seg>bc and dc</seg>
81<seg>None</seg>
82<seg>None</seg>
83</seglistitem>
84</segmentedlist>
85
86<variablelist>
87<bridgehead renderas="sect3">Short Descriptions</bridgehead>
88<?dbfo list-presentation="list"?>
89
90<varlistentry id="bc-prog">
91<term><command>bc</command></term>
92<listitem><para>is a calculator.</para>
93<indexterm zone="bc bc-prog">
94<primary sortas="b-bc">bc</primary>
95</indexterm></listitem>
96</varlistentry>
97
98<varlistentry id="dc">
99<term><command>dc</command></term>
100<listitem><para>is a reverse-polish calculator.</para>
101<indexterm zone="bc dc">
102<primary sortas="b-dc">dc</primary>
103</indexterm></listitem>
104</varlistentry>
105</variablelist>
[14d6b3e0]106
[52d29f7]107</sect2>
108
109</sect1>
110
Note: See TracBrowser for help on using the repository browser.