mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Bug 122: add glibc-nss patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@934 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a9b23091c0
commit
6879255c65
3
Attic/appendixc/glibc-patch.xml
Normal file
3
Attic/appendixc/glibc-patch.xml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Glibc-patch (&glibc-version;):
|
||||||
|
<ulink url="ftp://ftp.gnu.org/gnu/glibc/">ftp://ftp.gnu.org/gnu/glibc/</ulink>
|
||||||
|
|
@ -27,6 +27,7 @@ package quicker.</para>
|
|||||||
&ac-texinfo;
|
&ac-texinfo;
|
||||||
&ac-textutils;
|
&ac-textutils;
|
||||||
&ac-glibc;
|
&ac-glibc;
|
||||||
|
&ac-glibc-patch;
|
||||||
&ac-glibc-threads;
|
&ac-glibc-threads;
|
||||||
&ac-makedev;
|
&ac-makedev;
|
||||||
&ac-manpages;
|
&ac-manpages;
|
||||||
|
6
chapter04/glibc-patch.xml
Normal file
6
chapter04/glibc-patch.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Glibc-patch (&glibc-version;) - &glibc-patch-size;:
|
||||||
|
<ulink
|
||||||
|
url="&ftp;/glibc-&glibc-version;-nss.diff.bz2">&ftp;/glibc-&glibc-version;-nss.diff.bz2</ulink>
|
||||||
|
<ulink
|
||||||
|
url="&http;/glibc-&glibc-version;-nss.diff.bz2">&http;/glibc-&glibc-version;.-nss.diff.bz2</ulink>
|
||||||
|
|
@ -27,6 +27,7 @@
|
|||||||
&c3-patch;
|
&c3-patch;
|
||||||
&c3-makedev;
|
&c3-makedev;
|
||||||
&c3-glibc;
|
&c3-glibc;
|
||||||
|
&c3-glibc-patch;
|
||||||
&c3-glibc-threads;
|
&c3-glibc-threads;
|
||||||
&c3-manpages;
|
&c3-manpages;
|
||||||
&c3-manpages-patch;
|
&c3-manpages-patch;
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Command explanations</title>
|
<title>Command explanations</title>
|
||||||
|
|
||||||
|
<para><userinput>patch -Np0 -i ../glibc-2.2.3-nss.diff</userinput>: This
|
||||||
|
patch is needed to fix a couple of nasty nis bugs in glibc which can
|
||||||
|
cause problems.</para>
|
||||||
|
|
||||||
<para><userinput>mknod -m 0666 /dev/null c 1 3:</userinput> Glibc needs a
|
<para><userinput>mknod -m 0666 /dev/null c 1 3:</userinput> Glibc needs a
|
||||||
null device to compile properly. All other devices will be created in the
|
null device to compile properly. All other devices will be created in the
|
||||||
next section.</para>
|
next section.</para>
|
||||||
|
@ -1,14 +1,17 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of Glibc</title>
|
<title>Installation of Glibc</title>
|
||||||
|
|
||||||
<para>Once glibc has been unpacked as usual and you have cd'ed into the
|
<para>Before starting to install glibc, unpack the glibc-2.2.3-nss.diff
|
||||||
|
file in the $LFS/usr/src tree. Then, once glibc has been unpacked as usual
|
||||||
|
and you have cd'ed into the
|
||||||
glibc-&glibc-version; directory, unpack glibc-linuxthreads inside
|
glibc-&glibc-version; directory, unpack glibc-linuxthreads inside
|
||||||
the glibc-&glibc-version; directory, not in /usr/src as you normally
|
the glibc-&glibc-version; directory, not in /usr/src as you normally
|
||||||
would do.</para>
|
would do.</para>
|
||||||
|
|
||||||
<para>Install Glibc by running the following commands:</para>
|
<para>Install Glibc by running the following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput>
|
<para><screen><userinput>patch -Np0 -i ../glibc-2.2.3-nss.diff &&</userinput>
|
||||||
|
<userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput>
|
||||||
<userinput>touch /etc/ld.so.conf &&</userinput>
|
<userinput>touch /etc/ld.so.conf &&</userinput>
|
||||||
<userinput>mkdir ../glibc-build &&</userinput>
|
<userinput>mkdir ../glibc-build &&</userinput>
|
||||||
<userinput>cd ../glibc-build &&</userinput>
|
<userinput>cd ../glibc-build &&</userinput>
|
||||||
|
@ -90,6 +90,7 @@
|
|||||||
<!ENTITY c3-gettext SYSTEM "chapter3/gettext.xml">
|
<!ENTITY c3-gettext SYSTEM "chapter3/gettext.xml">
|
||||||
<!ENTITY c3-makedev SYSTEM "chapter3/makedev.xml">
|
<!ENTITY c3-makedev SYSTEM "chapter3/makedev.xml">
|
||||||
<!ENTITY c3-glibc SYSTEM "chapter3/glibc.xml">
|
<!ENTITY c3-glibc SYSTEM "chapter3/glibc.xml">
|
||||||
|
<!ENTITY c3-glibc-patch SYSTEM "chapter3/glibc-patch.xml">
|
||||||
<!ENTITY c3-glibc-threads SYSTEM "chapter3/glibc-threads.xml">
|
<!ENTITY c3-glibc-threads SYSTEM "chapter3/glibc-threads.xml">
|
||||||
<!ENTITY c3-manpages SYSTEM "chapter3/manpages.xml">
|
<!ENTITY c3-manpages SYSTEM "chapter3/manpages.xml">
|
||||||
<!ENTITY c3-manpages-patch SYSTEM "chapter3/manpages-patch.xml">
|
<!ENTITY c3-manpages-patch SYSTEM "chapter3/manpages-patch.xml">
|
||||||
@ -476,6 +477,7 @@
|
|||||||
<!ENTITY ac-gettext SYSTEM "appendixc/gettext.xml">
|
<!ENTITY ac-gettext SYSTEM "appendixc/gettext.xml">
|
||||||
<!ENTITY ac-makedev SYSTEM "appendixc/makedev.xml">
|
<!ENTITY ac-makedev SYSTEM "appendixc/makedev.xml">
|
||||||
<!ENTITY ac-glibc SYSTEM "appendixc/glibc.xml">
|
<!ENTITY ac-glibc SYSTEM "appendixc/glibc.xml">
|
||||||
|
<!ENTITY ac-glibc-patch SYSTEM "appendixc/glibc-patch.xml">
|
||||||
<!ENTITY ac-glibc-threads SYSTEM "appendixc/glibc-threads.xml">
|
<!ENTITY ac-glibc-threads SYSTEM "appendixc/glibc-threads.xml">
|
||||||
<!ENTITY ac-manpages SYSTEM "appendixc/manpages.xml">
|
<!ENTITY ac-manpages SYSTEM "appendixc/manpages.xml">
|
||||||
<!ENTITY ac-manpages-patch SYSTEM "appendixc/manpages-patch.xml">
|
<!ENTITY ac-manpages-patch SYSTEM "appendixc/manpages-patch.xml">
|
||||||
@ -512,7 +514,7 @@
|
|||||||
<!ENTITY ac-netkitbase SYSTEM "appendixc/netkitbase.xml">
|
<!ENTITY ac-netkitbase SYSTEM "appendixc/netkitbase.xml">
|
||||||
<!ENTITY ac-nettools SYSTEM "appendixc/nettools.xml">
|
<!ENTITY ac-nettools SYSTEM "appendixc/nettools.xml">
|
||||||
|
|
||||||
<!ENTITY all-version "cvs-20010808-0320">
|
<!ENTITY all-version "cvs-20010808-1130">
|
||||||
<!ENTITY all-size-kb "77,160 KB">
|
<!ENTITY all-size-kb "77,160 KB">
|
||||||
<!ENTITY all-size-mb "75 MB">
|
<!ENTITY all-size-mb "75 MB">
|
||||||
|
|
||||||
@ -649,6 +651,7 @@
|
|||||||
|
|
||||||
<!ENTITY glibc-version "2.2.3">
|
<!ENTITY glibc-version "2.2.3">
|
||||||
<!ENTITY glibc-size "11,091 KB">
|
<!ENTITY glibc-size "11,091 KB">
|
||||||
|
<!ENTITY glibc-patch-size "1 KB">
|
||||||
<!ENTITY glibc-threads-size "158.93 KB">
|
<!ENTITY glibc-threads-size "158.93 KB">
|
||||||
<!ENTITY glibc-compsize "glibc MB">
|
<!ENTITY glibc-compsize "glibc MB">
|
||||||
<!ENTITY glibc-time "glibc minutes">
|
<!ENTITY glibc-time "glibc minutes">
|
||||||
|
Loading…
Reference in New Issue
Block a user