Ignore:
Timestamp:
02/15/2014 12:40:11 AM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
3e2ac00
Parents:
e88c73c
Message:

Merge latest LFS SVN.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10468 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/glibc.xml

    re88c73c rf8756ab  
    5555    </note>
    5656
     57    <para>First fix a minor problem when installing the tzselect script:</para>
     58
     59<screen><userinput remap="pre">sed -i 's/\\$$(pwd)/`pwd`/' timezone/Makefile</userinput></screen>
     60
    5761    <para>The Glibc build system is self-contained and will install
    5862    perfectly, even though the compiler specs file and linker are still
     
    6266    of achieving a clean build.</para>
    6367
    64     <para>An upstream change needs to be reverted:</para>
    65 
    66 <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &amp;/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen>
    67 
    68     <para>Allow Glibc to be built with Make-&make-version;:</para>
    69 
    70 <screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
    71 
    7268    <para>Some of the Glibc programs use non-FHS compilant
    73     <filename class="directory">/var/db</filename> directory
    74     to store their runtime data. Apply the following patch to make such programs
     69    <filename class="directory">/var/db</filename> directory to store
     70    their runtime data. Apply the following patch to make such programs
    7571    store their runtime data in the FHS-compliant locations:</para>
    7672
     
    8581    <para>Prepare Glibc for compilation:</para>
    8682
    87 <screen><userinput remap="configure">../glibc-&glibc-version;/configure    \
    88     --prefix=/usr          \
    89     --disable-profile      \
    90     --enable-kernel=&min-kernel; \
    91     --libexecdir=/usr/lib</userinput></screen>
     83<screen><userinput remap="configure">../glibc-&glibc-version;/configure          \
     84    --prefix=/usr                \
     85    --disable-profile            \
     86    --enable-kernel=&min-kernel;       \
     87    --libexecdir=/usr/lib        \
     88    --enable-obsolete-rpc</userinput></screen>
    9289
    9390    <variablelist>
     
    10097          default of <filename class="directory">/usr/libexec</filename> to
    10198          <filename class="directory">/usr/lib</filename>.</para>
     99        </listitem>
     100      </varlistentry>
     101
     102      <varlistentry>
     103        <term><parameter>--enable-obsolete-rpc</parameter></term>
     104        <listitem>
     105          <para>Installs NIS and RPC related headers that are not installed by
     106          default; these are required to rebuild Glibc and by several BLFS
     107          packages.</para>
    102108        </listitem>
    103109      </varlistentry>
     
    174180<screen><userinput remap="install">make install</userinput></screen>
    175181
    176     <para>Install NIS and RPC related headers that are not installed by
    177     default; these are required to rebuild glibc and by several BLFS
    178     packages:</para>
    179 
    180 <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
    181 cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc
    182 cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>
    183 
    184182    <para>Install the configuration file and runtime directory for
    185183    <command>nscd</command>:</para>
     
    187185<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
    188186mkdir -pv /var/cache/nscd</userinput></screen>
     187
     188    <para>Install the Systemd support files for <command>nscd</command>:</para>
     189
     190<screen><userinput remap="install">install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.tmpfiles /etc/tmpfiles.d/nscd.conf
     191install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen>
    189192
    190193    <para>The locales that can make the system respond in a different language
     
    420423        zdump, and zic</seg>
    421424        <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
    422         libbsd-compat.a, libc.{a,so}, libc_nonshared.a, libcidn.so,
     425        libc.{a,so}, libc_nonshared.a, libcidn.so,
    423426        libcrypt.{a,so}, libdl.{a,so}, libg.a, libieee.a, libm.{a,so},
    424427        libmcheck.a, libmemusage.so, libnsl.{a,so}, libnss_compat.so,
     
    748751      </varlistentry>
    749752
    750       <varlistentry id="libbsd-compat">
    751         <term><filename class="libraryfile">libbsd-compat</filename></term>
    752         <listitem>
    753           <para>Provides the portability needed in order to run certain
    754           Berkeley Software Distribution (BSD) programs under Linux</para>
    755           <indexterm zone="ch-system-glibc libbsd-compat">
    756             <primary sortas="c-libbsd-compat">libbsd-compat</primary>
    757           </indexterm>
    758         </listitem>
    759       </varlistentry>
    760 
    761753      <varlistentry id="libc">
    762754        <term><filename class="libraryfile">libc</filename></term>
Note: See TracChangeset for help on using the changeset viewer.