瀏覽代碼

Adjusted locale settings for Bash testsuite run and kernel's make menuconfig.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8149 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Manuel Canales Esparcia 18 年之前
父節點
當前提交
2ccccf7389
共有 4 個文件被更改,包括 39 次插入8 次删除
  1. 12 1
      chapter01/changelog.xml
  2. 2 1
      chapter06/bash.xml
  3. 23 4
      chapter08/kernel.xml
  4. 2 2
      general.ent

+ 12 - 1
chapter01/changelog.xml

@@ -36,13 +36,24 @@
     </listitem>
 -->
 
+    <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

+ 2 - 1
chapter06/bash.xml

@@ -72,7 +72,8 @@ sed -i "s|htmldir = @htmldir@|htmldir = /usr/share/doc/bash-&bash-version;|" \
 
     <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>

+ 23 - 4
chapter08/kernel.xml

@@ -55,7 +55,26 @@
     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>&lt;host_LANG_value&gt;</replaceable> LC_ALL= menuconfig</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the make parameters:</title>
+
+      <varlistentry>
+        <term><parameter>LANG=&lt;host_LANG_value&gt; 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>&lt;host_LANG_value&gt;</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>
@@ -143,9 +162,9 @@ cp -r Documentation/* /usr/share/doc/linux-&linux-version;</userinput></screen>
       <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>

+ 2 - 2
general.ent

@@ -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}]" -->