aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/glibc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/glibc.xml')
-rw-r--r--chapter05/glibc.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 51d44ad24..68fd4ce01 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -27,6 +27,17 @@
<sect2 role="installation">
<title>Installation of Glibc</title>
+<para>The glibc-libidn tarball adds support for internationalized
+(non-ASCII) domain names to Glibc. While this facility is not
+useful in this chapter, the installation commands of
+<xref linkend="chapter-building-system"/>
+glibc (wrongly) check <xref linkend="chapter-temporary-tools"/> glibc for
+this feature. Unpack the tarball from within the Glibc source
+directory in order to avoid this bogus failure:</para>
+
+<screen><userinput>tar jxf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
+<!-- TODO: DIY Linux modifies the installation check script in Chapte 6 instead -->
+
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
@@ -36,7 +47,7 @@ cd ../glibc-build</userinput></screen>
<para>Next, prepare Glibc for compilation:</para>
<screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \
- --disable-profile --enable-add-ons \
+ --disable-profile --enable-add-ons=nptl,libidn \
--enable-kernel=2.6.0 --with-binutils=/tools/bin \
--without-gd --with-headers=/tools/include \
--without-selinux</userinput></screen>
@@ -52,9 +63,9 @@ necessary.</para></listitem>
</varlistentry>
<varlistentry>
-<term><parameter>--enable-add-ons</parameter></term>
+<term><parameter>--enable-add-ons=nptl,libidn</parameter></term>
<listitem><para>This tells Glibc to use the NPTL add-on as its threading
-library.</para></listitem>
+library, and adds support for non-ASCII domain names.</para></listitem>
</varlistentry>
<varlistentry>