aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-14 23:25:53 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-14 23:25:53 +0000
commit8b69ae47340020f78d57b1be48a93cf5f507f5d6 (patch)
tree8f0fd00f5781ebac6cb2796b4859e37149f17323 /chapter06/glibc.xml
parent0fe687219065f690731f57f01b3ed213c61e8901 (diff)
Make sed for omit-frame-pointers the same in Chapters 5 and 6. i
Simplify zimesone configuration in glibc. Let the glibc Makefile install rpc headers. Update to linux-3.13.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10467 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml47
1 files changed, 16 insertions, 31 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index fe368683a..343b5a17a 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -73,11 +73,12 @@ cd ../glibc-build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
- --prefix=/usr \
- --disable-profile \
- --enable-kernel=&min-kernel; \
- --libexecdir=/usr/lib/glibc</userinput></screen>
+<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
+ --prefix=/usr \
+ --disable-profile \
+ --enable-kernel=&min-kernel; \
+ --libexecdir=/usr/lib/glibc \
+ --enable-obsolete-rpc</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>
@@ -91,6 +92,15 @@ cd ../glibc-build</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>--enable-obsolete-rpc</parameter></term>
+ <listitem>
+ <para>Installs NIS and RPC related headers that are not installed by
+ default; these are required to rebuild Glibc and by several BLFS
+ packages.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Compile the package:</para>
@@ -162,14 +172,6 @@ grep Error glibc-check-log</userinput></screen>
<screen><userinput remap="install">make install</userinput></screen>
- <para>Install NIS and RPC related headers that are not installed by
- default; these are required to rebuild glibc and by several BLFS
- packages:</para>
-
-<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
-cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
-cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>
-
<para>The locales that can make the system respond in a different language
were not installed by the above command. None of the locales are required,
but if some of them are missing, test suites of the future packages would
@@ -336,28 +338,11 @@ unset ZONEINFO</userinput></screen>
<para>Then create the <filename>/etc/localtime</filename> file by
running:</para>
-<screen><userinput>cp -v --remove-destination /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> \
- /etc/localtime</userinput></screen>
+<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable>&lt;xxx&gt;</replaceable> /etc/localtime</userinput></screen>
<para>Replace <replaceable>&lt;xxx&gt;</replaceable> with the name of the
time zone selected (e.g., Canada/Eastern).</para>
- <variablelist>
- <title>The meaning of the cp option:</title>
-
- <varlistentry>
- <term><parameter>--remove-destination</parameter></term>
- <listitem>
- <para>This is needed to force removal of the already existing symbolic
- link. The reason for copying the file instead of using a symlink is to
- cover the situation where <filename class="directory">/usr</filename>
- is on a separate partition. This could be important when booted into
- single user mode.</para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
</sect2>
<sect2 id="conf-ld" role="configuration">