diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-02-18 18:46:43 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-02-18 18:46:43 +0000 |
commit | 4028929287b97b607b89392384eead98aaad9b9d (patch) | |
tree | 92fc8d3f682c3f86d4ae2bc06984ee53d6baf8ad /chapter06 | |
parent | aa976fe887a78c5b890f67bdb130d35a828770eb (diff) |
Add a patch to glibc for FHS compatibility.
More text/whitespace changes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10482 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/flex.xml | 8 | ||||
-rw-r--r-- | chapter06/glibc.xml | 18 | ||||
-rw-r--r-- | chapter06/mpfr.xml | 6 | ||||
-rw-r--r-- | chapter06/xz.xml | 4 |
4 files changed, 25 insertions, 11 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml index 8ec53658b..28d50e9a9 100644 --- a/chapter06/flex.xml +++ b/chapter06/flex.xml @@ -140,12 +140,12 @@ chmod -v 755 /usr/bin/lex</userinput></screen> </listitem> </varlistentry> - <varlistentry id="libfl.so"> - <term><filename class="libraryfile">libfl.so</filename></term> + <varlistentry id="libfl"> + <term><filename class="libraryfile">libfl</filename></term> <listitem> <para>The <filename class="libraryfile">flex</filename> library</para> - <indexterm zone="ch-system-flex libfl.so"> - <primary sortas="c-libfl.so">libfl.so</primary> + <indexterm zone="ch-system-flex libfl"> + <primary sortas="c-libfl">libfl</primary> </indexterm> </listitem> </varlistentry> 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> diff --git a/chapter06/mpfr.xml b/chapter06/mpfr.xml index 00bb8e164..708101891 100644 --- a/chapter06/mpfr.xml +++ b/chapter06/mpfr.xml @@ -43,9 +43,9 @@ <para>Prepare MPFR for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/usr \ - --enable-thread-safe \ - --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr \ + --enable-thread-safe \ + --docdir=/usr/share/doc/mpfr-&mpfr-version;</userinput></screen> <para>Compile the package:</para> diff --git a/chapter06/xz.xml b/chapter06/xz.xml index c90409a16..67594d2d4 100644 --- a/chapter06/xz.xml +++ b/chapter06/xz.xml @@ -6,10 +6,10 @@ ]> <sect1 id="ch-system-xz" role="wrap"> - <?dbhtml filename="xz-utils.html"?> + <?dbhtml filename="xz.html"?> <sect1info condition="script"> - <productname>xz-utils</productname> + <productname>xz</productname> <productnumber>&xz-version;</productnumber> <address>&xz-url;</address> </sect1info> |