mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
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
This commit is contained in:
parent
aa976fe887
commit
4028929287
@ -42,6 +42,14 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
<para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para>
|
||||
<para>MD5 sum: <literal>&glibc-fhs-patch-md5;</literal></para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
|
||||
<listitem>
|
||||
|
@ -6,10 +6,10 @@
|
||||
]>
|
||||
|
||||
<sect1 id="ch-tools-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>
|
||||
@ -41,7 +41,7 @@
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Xz-Utils</title>
|
||||
<title>Installation of Xz</title>
|
||||
|
||||
<para>Prepare Xz for compilation:</para>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -14,6 +14,10 @@
|
||||
<!ENTITY coreutils-i18n-patch-md5 "54c99871cd0ca20f29bdc9462e27f0df">
|
||||
<!ENTITY coreutils-i18n-patch-size "140 KB">
|
||||
|
||||
<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
|
||||
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
|
||||
<!ENTITY glibc-fhs-patch-size "2.8 KB">
|
||||
|
||||
<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
|
||||
<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
|
||||
<!ENTITY kbd-backspace-patch-size "12 KB">
|
||||
|
Loading…
Reference in New Issue
Block a user