|
@@ -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><xxx></replaceable> \
|
|
|
- /etc/localtime</userinput></screen>
|
|
|
+<screen><userinput>cp -v /usr/share/zoneinfo/<replaceable><xxx></replaceable> /etc/localtime</userinput></screen>
|
|
|
|
|
|
<para>Replace <replaceable><xxx></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">
|