From 1fb7bae85621e54e472bda251f39dbd9cdb2a8f6 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 30 Apr 2013 00:23:37 +0000 Subject: Add bc to Chapter 6 to support Linux-3.9 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10258 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendices/dependencies.xml | 38 +++++++++++++- chapter01/changelog.xml | 10 ++++ chapter01/whatsnew.xml | 4 ++ chapter03/packages.xml | 9 ++++ chapter05/stripping.xml | 6 +-- chapter06/bc.xml | 120 ++++++++++++++++++++++++++++++++++++++++++++ chapter06/chapter06.xml | 1 + general.ent | 4 +- packages.ent | 12 ++++- prologue/standards.xml | 8 +-- 10 files changed, 200 insertions(+), 12 deletions(-) create mode 100644 chapter06/bc.xml diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 841887828..d8506629e 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -145,6 +145,42 @@ + + Bc + + + &dependencies; + + + Bash, Binutils, Bison, Coreutils, GCC, Glibc, + Grep, Make, and Readline + + + + + &testsuites; + + + Gawk + + + + + &before; + + + Linux Kernel + + + + + &external; + + + None + + + Binutils @@ -1196,7 +1232,7 @@ &dependencies; - Bash, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, + Bash, Bc, Binutils, Coreutils, Diffutils, Findutils, GCC, Glibc, Grep, Gzip, Kmod, Make, Ncurses, Perl, and Sed diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 4231b6635..91e99bfde 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,16 @@ --> + + 2013-04-29 + + + [bdubbs] - Add bc to Chapter 6 to support Linux-3.9. Fixes + #3338. + + + + 2013-04-28 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 27ed2b2ca..c892a7e1d 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -229,6 +229,10 @@ Added: + + bc &bc-version; + + &bash-fixes-patch; diff --git a/chapter03/packages.xml b/chapter03/packages.xml index 628841aae..5cc8fcf71 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -41,6 +41,15 @@ + + Bc (&bc-version;) - &bc-size;: + + Home page: + Download: + MD5 sum: &bc-md5; + + + Binutils (&binutils-version;) - &binutils-size;: diff --git a/chapter05/stripping.xml b/chapter05/stripping.xml index 5a1de46a2..2d8fe6568 100644 --- a/chapter05/stripping.xml +++ b/chapter05/stripping.xml @@ -30,9 +30,9 @@ strip --strip-unneeded /tools/{,s}bin/* rm -rf /tools/{,share}/{info,man,doc} - At this point, you should have at least 850 MB of free space in - $LFS that can be used to build and install Glibc in the - next phase. If you can build and install Glibc, you can build and install + At this point, you should have at least 3 GB of free space in + $LFS that can be used to build and install Glibc and Gcc in + the next phase. If you can build and install Glibc, you can build and install the rest too. diff --git a/chapter06/bc.xml b/chapter06/bc.xml new file mode 100644 index 000000000..8e37d0132 --- /dev/null +++ b/chapter06/bc.xml @@ -0,0 +1,120 @@ + + + %general-entities; +]> + + + + + + bc + &bc-version; +
&bc-url;
+
+ + Bc-&bc-version; + + + Bc + + + + + + <para>The Bc package contains an arbitrary precision numeric processing + language.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&bc-ch6-sbu;</seg> + <seg>&bc-ch6-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Bc + + Prepare Bc for compilation: + +./configure --prefix=/usr --with-readline + + + The meaning of the configure options: + + + --with-readline + + This option tells Bc to use the readline library that is already + installed on the system rather than using its own readline + version. + + + + + + Compile the package: + +make + + To test bc, run the commands below. There is quite a bit of output, + so you may want to redirect it to a file. There are a very small percentage + of tests (10 of 12,144) that will indicate a roundoff error at the last + digit. + +echo "quit" | ./bc/bc -l Test/checklib.b + + Install the package: + +make install + + + + + Contents of Bc + + + Installed programs + + + bc and dc + + + + + Short Descriptions + + + + + bc + + is a command line calculator + + bc + + + + + + dc + + is a reverse-polish command line calculator + + dc + + + + + + + + +
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 89458bee5..866cde984 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -44,6 +44,7 @@ + diff --git a/general.ent b/general.ent index a34e3379e..ee99cc1eb 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index c66d8bd6e..ea24fb0ae 100644 --- a/packages.ent +++ b/packages.ent @@ -34,6 +34,14 @@ + + + + + + + + @@ -175,8 +183,8 @@ - - + + diff --git a/prologue/standards.xml b/prologue/standards.xml index 287e7bdc2..21a70d191 100644 --- a/prologue/standards.xml +++ b/prologue/standards.xml @@ -59,7 +59,7 @@ LSB Core: - Bash, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, + Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed, Shadow, Tar, Util-linux, Zlib @@ -111,7 +111,7 @@ LSB Core: - At, Batch (a part of At), Bc, Cpio, Ed, Fcrontab, Initd-tools, + At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools, Lsb_release, PAM, Sendmail (or Postfix or Exim) @@ -128,7 +128,7 @@ ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig, Glib2, GTK+2, Icon-naming-utils, Libjpeg, Libpng, Libxml2, - MesaLib, Pango, Qt3, Qt4, Xorg + MesaLib, Pango, Qt4, Xorg
@@ -178,7 +178,7 @@ LSB Desktop: - None + Qt3 -- cgit v1.2.3-54-g00ecf