aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml21
1 files changed, 10 insertions, 11 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 1cbaf232a..a78d81ee7 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -77,19 +77,18 @@
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen>
- <para>The Glibc documentation recommends building Glibc outside of the source
- directory in a dedicated build directory:</para>
+ <para>The Glibc documentation recommends building Glibc
+ in a dedicated build directory:</para>
-<screen><userinput remap="pre">mkdir -v ../glibc-build
-cd ../glibc-build</userinput></screen>
+<screen><userinput remap="pre">mkdir -v build
+cd 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; \
- --enable-obsolete-rpc</userinput></screen>
+<screen><userinput remap="configure">../configure --prefix=/usr \
+ --disable-profile \
+ --enable-kernel=&min-kernel; \
+ --enable-obsolete-rpc</userinput></screen>
<para>Compile the package:</para>
@@ -170,7 +169,7 @@ cd ../glibc-build</userinput></screen>
<para>Install the configuration file and runtime directory for
<command>nscd</command>:</para>
-<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
+<screen><userinput remap="install">cp -v ../nscd/nscd.conf /etc/nscd.conf
mkdir -pv /var/cache/nscd</userinput></screen>
<para>The locales that can make the system respond in a different language
@@ -274,7 +273,7 @@ EOF</userinput></screen>
<title>Adding time zone data</title>
<para>Install and set up the time zone data with the following:</para>
-<screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
+<screen><userinput>tar -xf ../../tzdata&tzdata-version;.tar.gz
ZONEINFO=/usr/share/zoneinfo
mkdir -pv $ZONEINFO/{posix,right}