Ignore:
Timestamp:
02/03/2006 06:23:22 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
fa994c9
Parents:
b4cd3c5
Message:

Ported r7294 to r7325 from trunk to alphabetical branch.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    rb4cd3c5 re6ab4b5  
    5656directory:</para>
    5757
    58 <screen><userinput>tar jxf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
     58<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
    5959
    6060<para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
     
    6464
    6565<screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>
     66
     67<para>When running <command>make install</command>, a script called
     68<filename>test-installation.pl</filename> performs a small sanity test
     69on our newly installed Glibc. However, because our toolchain still points to the
     70<filename class="directory">/tools</filename> directory, the sanity test would
     71be carried out against the wrong Glibc. We can force the script to check the
     72Glibc we have just installed with the following:</para>
     73
     74<screen><userinput>sed -i \
     75's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.2 -o|' \
     76        scripts/test-installation.pl</userinput></screen>
    6677
    6778<para>The Glibc documentation recommends building Glibc outside of the source
     
    139150<para>Install the package:</para>
    140151
    141 <screen><userinput>make install_root=/ install</userinput></screen>
    142 
    143 <para>The meaning of the make option:</para>
    144 
    145 <variablelist>
    146 <varlistentry>
    147 <term><parameter>install_root=/</parameter></term>
    148 <listitem><para>This causes the Glibc Makefile not to run the
    149 <filename>scripts/test-installation.pl</filename> script at the end
    150 of Glibc installation. Since the toolchain has not been adjusted yet for
    151 the new Glibc, this script would test Glibc installed in
    152 <filename class="directory">/tools</filename> and fail because the
    153 libidn add-on has not been installed there.</para></listitem>
    154 </varlistentry>
    155 </variablelist>
     152<screen><userinput>make install</userinput></screen>
    156153
    157154<para>The locales that can make the system respond in a different
     
    176173localedef -i en_PH -f ISO-8859-1 en_PH
    177174localedef -i en_US -f ISO-8859-1 en_US
     175localedef -i en_US -f UTF-8 en_US.UTF-8
    178176localedef -i es_MX -f ISO-8859-1 es_MX
    179177localedef -i fa_IR -f UTF-8 fa_IR
     
    267265
    268266<sect2 id="conf-ld" role="configuration">
    269 <title>Configuring Dynamic Loader</title>
     267<title>Configuring the Dynamic Loader</title>
    270268<indexterm zone="conf-ld"><primary sortas="e-/etc/ld.so.conf">/etc/ld.so.conf</primary></indexterm>
    271269
Note: See TracChangeset for help on using the changeset viewer.