source: archive/bc.xml@ 90cb5d6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 90cb5d6 was adf6dd9a, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Archive unneeded packages: pkgconfig,

bc, ibus, udev, slib, gamin, and notify-python

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

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY bc-download-http "&gnu-alpha-http;bc/bc-&bc-version;.tar.bz2">
20 <!ENTITY bc-download-ftp "&gnu-alpha-ftp;bc/bc-&bc-version;.tar.bz2">
21 <!ENTITY bc-md5sum "5126a721b73f97d715bb72c13c889035">
22 <!ENTITY bc-size "288 KB">
23 <!ENTITY bc-buildsize "3 MB">
24 <!ENTITY bc-time "less than 0.1 SBU (0.2 SBU if running the testsuite)">
25]>
26
27<sect1 id="bc" xreflabel="bc-&bc-version;">
28 <?dbhtml filename="bc.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 </sect1info>
34
35 <title>bc-&bc-version;</title>
36
37 <indexterm zone="bc">
38 <primary sortas="a-Bc">Bc</primary>
39 </indexterm>
40
41 <sect2 role="package">
42 <title>Introduction to bc</title>
43
44 <para>The <application>bc</application> package contains
45 an arbitrary precision numeric processing language.</para>
46
47 <note><para>Starting with linux-3.9 the <command>bc</command>
48 program is needed to build the linux kernel. It is been moved
49 to LFS for LFS-7.4.</para></note>
50
51 &lfs74_checked;
52
53 <bridgehead renderas="sect3">Package Information</bridgehead>
54 <itemizedlist spacing="compact">
55 <listitem>
56 <para>Download (HTTP): <ulink url="&bc-download-http;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download (FTP): <ulink url="&bc-download-ftp;"/></para>
60 </listitem>
61 <listitem>
62 <para>Download MD5 sum: &bc-md5sum;</para>
63 </listitem>
64 <listitem>
65 <para>Download size: &bc-size;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated disk space required: &bc-buildsize;</para>
69 </listitem>
70 <listitem>
71 <para>Estimated build time: &bc-time;</para>
72 </listitem>
73 </itemizedlist>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/bc"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of Bc</title>
82
83 <para>Install <application>bc</application> by running the following commands:</para>
84
85<screen><userinput>./configure --prefix=/usr --with-readline &amp;&amp;
86make</userinput></screen>
87
88 <para>To test <application>bc</application>, run the commands below.
89 There is quite a bit of output, so you may want to redirect it to a file.
90 There are a very small percentage of tests (10 of 12,144) that will
91 indicate a roundoff error at the last digit.</para>
92
93<screen><userinput>echo "quit" | ./bc/bc -l Test/checklib.b</userinput></screen>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>make install</userinput></screen>
98
99 </sect2>
100
101 <sect2 role="commands">
102 <title>Command Explanations</title>
103<!--
104 <para><command>sed -i '/PROTO.*readline/d' bc/scan.l</command>: This
105 command fixes the <application>Readline</application> library call.</para>
106
107 <para><command>sed -i '/flex -I8/s/8//' configure</command>: This
108 command fixes the <application>Flex</application> invocation.</para>
109
110 <para><command>sed -i '/stdlib/a #include &lt;string.h&gt;' lib/number.c</command>:
111 This command inserts a missing header.</para>
112
113 <para><command>sed -i 's/program.*save/static &amp;/' bc/load.c</command>:
114 This command fixes a segfault when running <application>bc</application>
115 with <command>bc -l</command>.</para>
116-->
117 <para><parameter>--with-readline</parameter>: This option enables
118 <application>Readline</application> support in interactive mode.</para>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Libraries</segtitle>
128 <segtitle>Installed Directories</segtitle>
129
130 <seglistitem>
131 <seg>bc and dc</seg>
132 <seg>None</seg>
133 <seg>None</seg>
134 </seglistitem>
135 </segmentedlist>
136
137 <variablelist>
138 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
139 <?dbfo list-presentation="list"?>
140 <?dbhtml list-presentation="table"?>
141
142 <varlistentry id="bc-prog">
143 <term><command>bc</command></term>
144 <listitem>
145 <para>is a calculator.</para>
146 <indexterm zone="bc bc-prog">
147 <primary sortas="b-bc">bc</primary>
148 </indexterm>
149 </listitem>
150 </varlistentry>
151
152 <varlistentry id="dc">
153 <term><command>dc</command></term>
154 <listitem>
155 <para>is a reverse-polish calculator.</para>
156 <indexterm zone="bc dc">
157 <primary sortas="b-dc">dc</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 </variablelist>
163
164 </sect2>
165
166</sect1>
167
Note: See TracBrowser for help on using the repository browser.