Changeset f8756ab for chapter06/glibc.xml
- Timestamp:
- 02/15/2014 12:40:11 AM (10 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- 3e2ac00
- Parents:
- e88c73c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
re88c73c rf8756ab 55 55 </note> 56 56 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 57 61 <para>The Glibc build system is self-contained and will install 58 62 perfectly, even though the compiler specs file and linker are still … … 62 66 of achieving a clean build.</para> 63 67 64 <para>An upstream change needs to be reverted:</para>65 66 <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &/' 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 72 68 <para>Some of the Glibc programs use non-FHS compilant 73 <filename class="directory">/var/db</filename> directory 74 t o store their runtime data. Apply the following patch to make such programs69 <filename class="directory">/var/db</filename> directory to store 70 their runtime data. Apply the following patch to make such programs 75 71 store their runtime data in the FHS-compliant locations:</para> 76 72 … … 85 81 <para>Prepare Glibc for compilation:</para> 86 82 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> 92 89 93 90 <variablelist> … … 100 97 default of <filename class="directory">/usr/libexec</filename> to 101 98 <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> 102 108 </listitem> 103 109 </varlistentry> … … 174 180 <screen><userinput remap="install">make install</userinput></screen> 175 181 176 <para>Install NIS and RPC related headers that are not installed by177 default; these are required to rebuild glibc and by several BLFS178 packages:</para>179 180 <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc181 cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc182 cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen>183 184 182 <para>Install the configuration file and runtime directory for 185 183 <command>nscd</command>:</para> … … 187 185 <screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf 188 186 mkdir -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 191 install -v -Dm644 ../glibc-&glibc-version;/nscd/nscd.service /lib/systemd/system/nscd.service</userinput></screen> 189 192 190 193 <para>The locales that can make the system respond in a different language … … 420 423 zdump, and zic</seg> 421 424 <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so}, 422 lib bsd-compat.a, libc.{a,so}, libc_nonshared.a, libcidn.so,425 libc.{a,so}, libc_nonshared.a, libcidn.so, 423 426 libcrypt.{a,so}, libdl.{a,so}, libg.a, libieee.a, libm.{a,so}, 424 427 libmcheck.a, libmemusage.so, libnsl.{a,so}, libnss_compat.so, … … 748 751 </varlistentry> 749 752 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 certain754 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 761 753 <varlistentry id="libc"> 762 754 <term><filename class="libraryfile">libc</filename></term>
Note:
See TracChangeset
for help on using the changeset viewer.