Changeset 46a2e9c for chapter05


Ignore:
Timestamp:
01/06/2006 02:59:05 AM (19 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Children:
e1ca33a
Parents:
1714f1a
Message:

Merged recent changes from trunk to lfs-alpha. Fixed typo.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7248 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter05
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter05/chapter05.xml

    r1714f1a r46a2e9c  
    1313<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="binutils-pass1.xml"/>
    1414<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gcc-pass1.xml"/>
    15 3B
    1615<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="linux-libc-headers.xml"/>
    1716<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="glibc.xml"/>
  • chapter05/gawk.xml

    r1714f1a r46a2e9c  
    3232<screen><userinput>./configure --prefix=/tools</userinput></screen>
    3333
    34 <para>The configure script doesn't detect some functionality correctly.  The
    35 following commands correct this problem:</para>
    36 
    37 <screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h
    38 echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen>
     34<para>Due to a bug in the <command>configure</command> script, Gawk fails
     35to detect certain aspects of locale support in Glibc. This
     36bug leads to, e.g., Gettext testsuite failures. Work around this issue
     37by appending the missing macro definitions to <filename>config.h</filename>:</para>
     38<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
     39<literal>#define HAVE_LANGINFO_CODESET 1
     40#define HAVE_LC_MESSAGES 1</literal>
     41EOF</userinput></screen>
    3942
    4043<para>Compile the package:</para>
  • chapter05/glibc.xml

    r1714f1a r46a2e9c  
    8989<term><parameter>--without-selinux</parameter></term>
    9090<listitem><para>When building from hosts that include SELinux functionality
    91 (e.g. Fedora Core 3), Glibc will build with support for SELinux. As the LFS
     91(e.g., Fedora Core 3), Glibc will build with support for SELinux. As the LFS
    9292tools environment does not contain support for SELinux, a Glibc compiled with
    9393such support will fail to operate correctly.</para></listitem>
     
    159159per the recommendation), there is no need to install the locales now.
    160160The appropriate locales will be installed in the next
    161 chapter.</para></note>
    162 
    163 <para>To install the Glibc locales anyway, use the following
    164 command:</para>
    165 
    166 <screen role="nodump"><userinput>make localedata/install-locales</userinput></screen>
    167 
    168 <para>To save time, an alternative to running the
    169 previous command (which generates and installs every locale Glibc is
    170 aware of) is to install only those locales that are wanted and needed.
    171 This can be achieved by using the <command>localedef</command>
    172 command. Information on this command is located in the
    173 <filename>INSTALL</filename> file in the Glibc source.  However, there
    174 are a number of locales that are essential in order for the tests of
    175 future packages to pass, in particular, the
    176 <emphasis>libstdc++</emphasis> tests from GCC. The following
    177 instructions, instead of the <parameter>install-locales</parameter>
    178 target used above, will install the minimum set of locales necessary
    179 for the tests to run successfully:</para>
    180 
    181 <screen><userinput>mkdir -pv /tools/lib/locale
    182 localedef -i de_DE -f ISO-8859-1 de_DE
    183 localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
    184 localedef -i en_HK -f ISO-8859-1 en_HK
    185 localedef -i en_PH -f ISO-8859-1 en_PH
    186 localedef -i en_US -f ISO-8859-1 en_US
    187 localedef -i es_MX -f ISO-8859-1 es_MX
    188 localedef -i fa_IR -f UTF-8 fa_IR
    189 localedef -i fr_FR -f ISO-8859-1 fr_FR
    190 localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro
    191 localedef -i it_IT -f ISO-8859-1 it_IT
    192 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen>
     161chapter. To install the Glibc locales anyway, use instructions from
     162<xref linkend="ch-system-glibc" role="."/>
     163</para></note>
    193164
    194165</sect2>
Note: See TracChangeset for help on using the changeset viewer.