Chris Staub wrote:

-<para>To save time, an alternative to running the
-previous command (which generates and installs every locale listed in the
-glibc-&glibc-version;/localedata/SUPPORTED file) is to install only those
-locales that are wanted and needed.  This can be achieved by using the
-<command>localedef</command> command. Information on this command is located in
-the <filename>INSTALL</filename> file in the Glibc source.  However, there
-are a number of locales that are essential in order for the tests of
-future packages to pass, in particular, the
-<emphasis>libstdc++</emphasis> tests from GCC. The following
+<para>As mentioned in <xref linkend="ch-tools-glibc"/>, you can save time by 
installing only those
+locales that are wanted and needed, using the
+<command>localedef</command> command. The following
 instructions, instead of the <parameter>install-locales</parameter>
 target used above, will install the minimum set of locales necessary
-for the tests to run successfully:</para>
+for testsuites to run successfully:</para>

This, unfortunately, introduces a conflict with the UTF-8 patch, please help resolving this. Thanks for pointing out that the patch creates an inconsistency between chapters. But I am not sure that it is indeed the best to make a link from Chapter 6 to Chapter 5. Maybe, since locale installation instructions in Chapter 5 are completely optional, it is more logical to kill all the instructions there, and add a link to Chapter 6?

After the UTF-8 patch, the text in Chapter 6 becomes:

The locales that can make the system respond in a different language were not installed by the above command. Install locales listed in the
glibc-2.3.6/localedata/SUPPORTED file with:

make localedata/install-locales

Use the localedef command to create and install additional locales in the case if you need them (but that's unlikely).

To save time, an alternative to running the previous command is to install only those locales that are wanted and needed, by using the localedef command. Information on this command is located in the INSTALL file in the Glibc source. There are a number of locales that are essential in order for the tests of future packages to pass, in particular, the libstdc++ tests from GCC. The following instructions, instead of the install-locales target used above, will install the minimum set of locales necessary for the tests to run successfully:

mkdir -pv /usr/lib/locale
localedef -i de_DE -f ISO-8859-1 de_DE
...

--
Alexander E. Patrakov
Don't mail to [EMAIL PROTECTED]: the server is off until 2006-01-11
Use my GMail or linuxfromscratch address instead
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to