aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml18
1 files changed, 16 insertions, 2 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index c88b6a6b0..d64b81219 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -58,6 +58,13 @@
<screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
+ <para>Some of the Glibc programs use non-FHS compilant
+ <filename class="directory">/var/db</filename> directory to store
+ their runtime data. Apply the following patch to make such programs
+ store their runtime data in the FHS-compliant locations:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
+
<para>The Glibc build system is self-contained and will install
perfectly, even though the compiler specs file and linker are still
pointing at <filename class="directory">/tools</filename>. The specs
@@ -168,6 +175,12 @@ grep Error glibc-check-log</userinput></screen>
<screen><userinput remap="install">make install</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
+mkdir -pv /var/cache/nscd</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
@@ -413,8 +426,9 @@ mkdir -pv /etc/ld.so.conf.d</userinput></screen>
/usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
/usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
/usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
- /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/glibc,
- /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/db</seg>
+ /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
+ /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
+ /var/cache/nscd, and /var/lib/nss_db</seg>
</seglistitem>
</segmentedlist>