[lfs-book] r11212 - in trunk/BOOK: . chapter01 chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Tue Mar 28 19:13:40 PDT 2017


Author: bdubbs
Date: Tue Mar 28 19:13:40 2017
New Revision: 11212

Log:
Move realline to be before bc in Cahpater 6.
Update to linux-4.10.6.
Update to pkg-config-0.29.2.
Update to tzdata-2017b.
Add option -Dusethreads to perl in Chapter 6.

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter06/bc.xml
   trunk/BOOK/chapter06/chapter06.xml
   trunk/BOOK/chapter06/perl.xml
   trunk/BOOK/chapter06/readline.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/chapter01/changelog.xml	Tue Mar 28 19:13:40 2017	(r11212)
@@ -43,6 +43,31 @@
     appropriate for the entry or if needed the entire day's listitem.
 -->
     <listitem>
+      <para>2017-03-28</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Move realline to be before bc in Cahpater 6. Fixes
+          <ulink url="&lfs-ticket-root;4068">#4068</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to linux-4.10.6. Fixes
+          <ulink url="&lfs-ticket-root;4065">#4065</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to pkg-config-0.29.2. Fixes
+          <ulink url="&lfs-ticket-root;4066">#4066</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to tzdata-2017b. Fixes
+          <ulink url="&lfs-ticket-root;4067">#4067</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Add option -Dusethreads to perl in Chapter 6.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2017-03-25</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
==============================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/chapter01/whatsnew.xml	Tue Mar 28 19:13:40 2017	(r11212)
@@ -182,9 +182,9 @@
     <!--<listitem>
       <para>Perl &perl-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Pkg-config &pkgconfig-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Procps-ng &procps-ng-version;</para>
     </listitem>-->

Modified: trunk/BOOK/chapter06/bc.xml
==============================================================================
--- trunk/BOOK/chapter06/bc.xml	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/chapter06/bc.xml	Tue Mar 28 19:13:40 2017	(r11212)
@@ -45,6 +45,14 @@
 
 <screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen> 
 
+    <para>Create a temporary symbolic link so the package can find
+    the readline library and confirm that its required libncurses
+    library is available. Even though the libraries are in /tools/lib
+    at this point, the system will use /usr/lib at the end of
+    this chapter.</para>
+
+<screen><userinput remap="pre">ln -sv /tools/lib/libncursesw.so /usr/lib/libncurses.so</userinput></screen>
+
     <para>Prepare Bc for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr           \

Modified: trunk/BOOK/chapter06/chapter06.xml
==============================================================================
--- trunk/BOOK/chapter06/chapter06.xml	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/chapter06/chapter06.xml	Tue Mar 28 19:13:40 2017	(r11212)
@@ -23,6 +23,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="adjusting.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="zlib.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="file.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="binutils.xml"/>
@@ -43,7 +44,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bash.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtool.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdbm.xml"/>

Modified: trunk/BOOK/chapter06/perl.xml
==============================================================================
--- trunk/BOOK/chapter06/perl.xml	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/chapter06/perl.xml	Tue Mar 28 19:13:40 2017	(r11212)
@@ -71,7 +71,8 @@
                   -Dman1dir=/usr/share/man/man1 \
                   -Dman3dir=/usr/share/man/man3 \
                   -Dpager="/usr/bin/less -isR"  \
-                  -Duseshrplib</userinput></screen>
+                  -Duseshrplib                  \
+                  -Dusethreads</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
@@ -109,6 +110,13 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>-Dusethreads</parameter></term>
+        <listitem>
+          <para>Build perl with support for threads.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Compile the package:</para>

Modified: trunk/BOOK/chapter06/readline.xml
==============================================================================
--- trunk/BOOK/chapter06/readline.xml	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/chapter06/readline.xml	Tue Mar 28 19:13:40 2017	(r11212)
@@ -57,17 +57,16 @@
 
     <para>Compile the package:</para>
 
-<screen><userinput remap="make">make SHLIB_LIBS=-lncurses</userinput></screen>
+<screen><userinput remap="make">make SHLIB_LIBS="-L/tools/lib -lncursesw"</userinput></screen>
 
     <variablelist>
       <title>The meaning of the make option:</title>
 
       <varlistentry>
-        <term><parameter>SHLIB_LIBS=-lncurses</parameter></term>
+        <term><parameter>SHLIB_LIBS="-L/tools/lib -lncursesw"</parameter></term>
         <listitem>
           <para>This option forces Readline to link against the
-          <filename class="libraryfile">libncurses</filename> (really,
-          <filename class="libraryfile">libncursesw</filename>) library.</para>
+          <filename class="libraryfile">libncursesw</filename> library.</para>
         </listitem>
       </varlistentry>
 
@@ -77,7 +76,7 @@
 
     <para>Install the package:</para>
 
-<screen><userinput remap="install">make SHLIB_LIBS=-lncurses install</userinput></screen>
+<screen><userinput remap="install">make SHLIB_LIBS="-L/tools/lib -lncurses" install</userinput></screen>
 
     <para>Now move the dynamic libraries to a more appropriate location
     and fix up some symbolic links:</para>

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/general.ent	Tue Mar 28 19:13:40 2017	(r11212)
@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20170325">
+<!ENTITY version         "SVN-20170328">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20170325-systemd">
+<!ENTITY versiond        "20170328-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "March 25, 2017">
+<!ENTITY releasedate     "March 28, 2017">
 
 <!ENTITY copyrightdate   "1999-2017"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone       "8.1">

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent	Mon Mar 27 08:59:05 2017	(r11211)
+++ trunk/BOOK/packages.ent	Tue Mar 28 19:13:40 2017	(r11212)
@@ -392,12 +392,12 @@
 
 <!ENTITY linux-major-version "4">
 <!ENTITY linux-minor-version "10">
-<!ENTITY linux-patch-version "3">
+<!ENTITY linux-patch-version "6">
 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
-<!ENTITY linux-size "92,013 KB">
+<!ENTITY linux-size "92,028 KB">
 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
-<!ENTITY linux-md5 "626292ab8b495e81efe6ee45baf6b817">
+<!ENTITY linux-md5 "a5b0265cdb915aaf40d235224beb5b9d">
 <!ENTITY linux-home "http://www.kernel.org/">
 <!-- measured for 4.8.3 / gcc-6.2.0 on x86_64 : minimum is
  allnoconfig extended for a hopefully-bootable build on desktop machine,
@@ -492,10 +492,10 @@
 <!ENTITY perl-ch6-du "245 MB">
 <!ENTITY perl-ch6-sbu "5.9 SBU">
 
-<!ENTITY pkgconfig-version "0.29.1">
-<!ENTITY pkgconfig-size "1,967 KB">
+<!ENTITY pkgconfig-version "0.29.2">
+<!ENTITY pkgconfig-size "1,970 KB">
 <!ENTITY pkgconfig-url "https://pkg-config.freedesktop.org/releases/pkg-config-&pkgconfig-version;.tar.gz">
-<!ENTITY pkgconfig-md5 "f739a28cae4e0ca291f82d1d41ef107d">
+<!ENTITY pkgconfig-md5 "f6e931e319531b736fadc017f470e68a">
 <!ENTITY pkgconfig-home "http://www.freedesktop.org/wiki/Software/pkg-config">
 <!ENTITY pkgconfig-ch6-du "28 MB">
 <!ENTITY pkgconfig-ch6-sbu "0.4 SBU">
@@ -595,10 +595,10 @@
 <!ENTITY texinfo-ch6-du "108 MB">
 <!ENTITY texinfo-ch6-sbu "0.5 SBU">
 
-<!ENTITY tzdata-version "2017a">
+<!ENTITY tzdata-version "2017b">
 <!ENTITY tzdata-size "317 KB">
 <!ENTITY tzdata-url "http://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz">
-<!ENTITY tzdata-md5 "cb8274cd175f8a4d9d1b89895df876dc">
+<!ENTITY tzdata-md5 "50dc0dc50c68644c1f70804f2e7a1625">
 <!ENTITY tzdata-home "http://www.iana.org/time-zones">
 
 <!ENTITY udev-lfs-version "udev-lfs-20140408">


More information about the lfs-book mailing list