- Timestamp:
- 02/11/2013 01:15:56 AM (12 years ago)
- Branches:
- 7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
- Children:
- ce5ebe1
- Parents:
- c62cd46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
rc62cd46 reea4055 62 62 of achieving a clean build.</para> 63 63 64 <para>Some of the Glibc programs use non-FHS compilant 65 <filename class="directory">/var/db</filename> directory 66 to store their runtime data. Apply the following patch to make such programs 67 store their runtime data in the FHS-compliant locations:</para> 68 69 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen> 70 64 71 <para>The Glibc documentation recommends building Glibc outside of the source 65 72 directory in a dedicated build directory:</para> … … 70 77 <para>Prepare Glibc for compilation:</para> 71 78 72 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 73 --prefix=/usr \ 74 --disable-profile \ 75 --enable-kernel=2.6.25 \ 76 --libexecdir=/usr/lib/glibc</userinput></screen> 79 <!-- We would get /usr/lib/glibc/getconf instead of /usr/lib/getconf and 80 /usr/lib/getconf was used before. Other distros seem to use same 81 libexecdir --> 82 <screen><userinput remap="configure">../glibc-&glibc-version;/configure \ 83 --prefix=/usr \ 84 --libexecdir=/usr/lib \ 85 --disable-profile \ 86 --enable-kernel=2.6.25</userinput></screen> 77 87 78 88 <variablelist> … … 80 90 81 91 <varlistentry> 82 <term><parameter>--libexecdir=/usr/lib /glibc</parameter></term>92 <term><parameter>--libexecdir=/usr/lib</parameter></term> 83 93 <listitem> 84 94 <para>This changes the location of the <command>pt_chown</command> 85 program from its default of <filename 95 program and <filename class="directory">getconf</filename> directory 96 from their default install location of <filename 86 97 class="directory">/usr/libexec</filename> to <filename 87 class="directory">/usr/lib /glibc</filename>.</para>98 class="directory">/usr/lib</filename>.</para> 88 99 </listitem> 89 100 </varlistentry> … … 162 173 cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc 163 174 cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen> 175 176 <para>Install the configuration file and runtime directory for 177 <command>nscd</command>:</para> 178 179 <screen><userinput remap="install">install -v -m644 ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf && 180 install -v -dm755 /var/cache/nscd</userinput></screen> 164 181 165 182 <para>The locales that can make the system respond in a different language … … 426 443 /usr/include/netrom, /usr/include/netrose, /usr/include/nfs, 427 444 /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc, 428 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/glibc, 429 /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/db</seg> 445 /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/getconf, 446 /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/cache/nscd, 447 and /var/lib/nss_db</seg> 430 448 </seglistitem> 431 449 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.