r8149 - in trunk/BOOK: . chapter01 chapter06 chapter08

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Jun 6 10:28:25 PDT 2007


Author: manuel
Date: 2007-06-06 11:28:25 -0600 (Wed, 06 Jun 2007)
New Revision: 8149

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter08/kernel.xml
   trunk/BOOK/general.ent
Log:
Adjusted locale settings for Bash testsuite run and kernel's make menuconfig.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2007-06-05 17:59:15 UTC (rev 8148)
+++ trunk/BOOK/chapter01/changelog.xml	2007-06-06 17:28:25 UTC (rev 8149)
@@ -37,12 +37,23 @@
 -->
 
     <listitem>
+      <para>2007-06-06</para>
+      <itemizedlist>
+        <listitem>
+          <para>[manuel] - Adjusted locale settings for Bash testsuite run and
+          kernel <command>make menuconfig</command> command. Fixes
+          <ulink url="&lfs-ticket-root;1938">#1938</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2007-06-05</para>
       <itemizedlist>
         <listitem>
           <para>[manuel] - Made more prominent that the headers in the system's
           include directory must be ones against which Glibc was compiled.
-          Fixes  <ulink url="&lfs-ticket-root;2024">#2024</ulink></para>
+          Fixes  <ulink url="&lfs-ticket-root;2024">#2024</ulink>.</para>
         </listitem>
         <listitem>
           <para>[alexander] - Upgrade to Linux-2.6.21.3, Man-Pages-2.51 and

Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml	2007-06-05 17:59:15 UTC (rev 8148)
+++ trunk/BOOK/chapter06/bash.xml	2007-06-06 17:28:25 UTC (rev 8149)
@@ -72,7 +72,8 @@
 
     <para>To test the results, issue:</para>
 
-<screen><userinput>chown -Rv nobody ./
+<screen><userinput>sed -i 's/LANG/LC_ALL/' tests/intl.tests
+chown -Rv nobody ./
 su-tools nobody -s /bin/bash -c "make tests"</userinput></screen>
 
     <para>Install the package:</para>

Modified: trunk/BOOK/chapter08/kernel.xml
===================================================================
--- trunk/BOOK/chapter08/kernel.xml	2007-06-05 17:59:15 UTC (rev 8148)
+++ trunk/BOOK/chapter08/kernel.xml	2007-06-06 17:28:25 UTC (rev 8149)
@@ -55,8 +55,27 @@
     packages outside of LFS at <ulink
     url="&blfs-root;view/svn/longindex.html#kernel-config-index"/>:</para>
 
-<screen role="nodump"><userinput>make menuconfig</userinput></screen>
+<screen role="nodump"><userinput>make LANG=<replaceable><host_LANG_value></replaceable> LC_ALL= menuconfig</userinput></screen>
 
+    <variablelist>
+      <title>The meaning of the make parameters:</title>
+
+      <varlistentry>
+        <term><parameter>LANG=<host_LANG_value> LC_ALL=</parameter></term>
+        <listitem>
+          <para>This establishes the locale setting to the one used on the host.
+          This is needed for a proper menuconfig ncurses interface line
+          drawing on UTF-8 linux text console.</para>
+
+          <para>Be sure to replace <replaceable><host_LANG_value></replaceable>
+          by the value of the <envar>$LANG</envar> variable from your host.
+          If not set, you could use also the host's value of <envar>$LC_ALL</envar>
+          or <envar>$LC_CTYPE</envar>.</para>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
     <para>Alternatively, <command>make oldconfig</command> may be more
     appropriate in some situations. See the <filename>README</filename>
     file for more information.</para>
@@ -143,9 +162,9 @@
       <para>The headers in the system's
       <filename class="directory">include</filename> directory should
       <emphasis>always</emphasis> be the ones against which Glibc was compiled,
-      that is, the sanitised headers from the Linux kernel tarball.
-      Therefore, should <emphasis>never</emphasis> be replaced by the raw kernel
-      headers or if upgrading the kernel.</para>
+      that is, the sanitised headers from this Linux kernel tarball.
+      Therefore, thay should <emphasis>never</emphasis> be replaced by either
+      the raw kernel headers or any other kernel sanitized headers.</para>
     </warning>
 
   </sect2>

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2007-06-05 17:59:15 UTC (rev 8148)
+++ trunk/BOOK/general.ent	2007-06-06 17:28:25 UTC (rev 8149)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20070514">
-<!ENTITY releasedate "May 14, 2007">
+<!ENTITY version "SVN-20070606">
+<!ENTITY releasedate "June 06, 2007">
 <!ENTITY milestone "6.3">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 




More information about the lfs-book mailing list