Changeset ea57e1b
- Timestamp:
- 08/16/2001 09:16:55 PM (23 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_0, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 987aa00
- Parents:
- 1fda654
- Files:
-
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Attic/appendixc/packages.xml
r1fda654 rea57e1b 28 28 &ac-textutils; 29 29 &ac-glibc; 30 &ac-glibc-patch;31 30 &ac-glibc-threads; 32 31 &ac-makedev; -
chapter01/changelog.xml
r1fda654 rea57e1b 11 11 12 12 <listitem><para>MAKEDEV-1-1</para></listitem> 13 <listitem><para>autoconf-2.52</para></listitem> 14 <listitem><para>automake-1.4-p5</para></listitem> 13 15 <listitem><para>binutils-2.11.2</para></listitem> 14 16 <listitem><para>e2fsprogs-1.22</para></listitem> 15 17 <listitem><para>file-3.36</para></listitem> 18 <listitem><para>gcc-2.95.3</para></listitem> 19 <listitem><para>gettext-0.10.39</para></listitem> 20 <listitem><para>glibc-2.2.4</para></listitem> 16 21 <listitem><para>groff-1.17.2</para></listitem> 17 22 <listitem><para>linux-2.4.9</para></listitem> 23 <listitem><para>man-pages-1.39</para></listitem> 18 24 <listitem><para>sysvinit-2.81</para></listitem> 19 <listitem><para>autoconf-2.52</para></listitem>20 <listitem><para>automake-1.4-p5</para></listitem>21 25 <listitem><para>util-linux-2.11h</para></listitem> 22 <listitem><para>man-pages-1.39</para></listitem> 23 <listitem><para>gettext-0.10.39</para></listitem> 24 <listitem><para>gcc-2.95.3</para></listitem> 26 27 25 28 </itemizedlist> 26 29 -
chapter04/packages.xml
r1fda654 rea57e1b 28 28 &c3-makedev; 29 29 &c3-glibc; 30 &c3-glibc-patch;31 30 &c3-glibc-threads; 32 31 &c3-manpages; -
chapter06/glibc-exp.xml
r1fda654 rea57e1b 1 1 <sect2> 2 2 <title>Command explanations</title> 3 4 <para><userinput>patch -Np0 -i ../glibc-2.2.3-nss.diff</userinput>: This5 patch is needed to fix a couple of nasty nis bugs in glibc which can6 cause problems.</para>7 3 8 4 <para><userinput>mknod -m 0666 /dev/null c 1 3:</userinput> Glibc needs a … … 18 14 19 15 <para><userinput>sed 's|$(PERL)|/usr/bin/perl|' 20 ../glibc- 2.2.3/malloc/Makefile > tmp~:</userinput> This sed command21 searches through <filename>../glibc- 2.2.3/malloc/Makefile</filename> and16 ../glibc-&glibc-version;/malloc/Makefile > tmp~:</userinput> This sed command 17 searches through <filename>../glibc-&glibc-version;/malloc/Makefile</filename> and 22 18 converts all occurances of <filename>$(PERL)</filename> to 23 19 <filename>/usr/bin/perl</filename>. The output is then written to the … … 26 22 Glibc.</para> 27 23 28 <para><userinput>mv tmp~ ../glibc- 2.2.3/malloc/Makefile:</userinput> The file24 <para><userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile:</userinput> The file 29 25 <filename>tmp~</filename> is now moved back to 30 <filename>../glibc- 2.2.3/malloc/Makefile</filename>. We do this because26 <filename>../glibc-&glibc-version;/malloc/Makefile</filename>. We do this because 31 27 when using sed, we can't write straight back to this file so we need to 32 28 use a temporary file in between.</para> 33 29 34 <para><userinput>sed 's/root/0' ../glibc- 2.2.3/login/Makefile >30 <para><userinput>sed 's/root/0' ../glibc-&glibc-version;/login/Makefile > 35 31 tmp~:</userinput> This sed command replaces all occurances of 36 32 <filename>root</filename> in 37 <filename>../glibc- 2.2.3/login/Makefile</filename> with 0. This is33 <filename>../glibc-&glibc-version;/login/Makefile</filename> with 0. This is 38 34 because as we don't have glibc on the LFS system yet, usernames can't 39 35 be resolved to their user id's. Therefore, we replace the username 40 36 root with the id 0. </para> 41 37 42 <para><userinput>mv tmp~ ../glibc-2.2.3/login/Makefile:</userinput> As above, 43 we are using a temporary file (<filename>tmp~</filename>) to store the 38 <para><userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile:</userinput> Asabove, we are using a temporary file (<filename>tmp~</filename>) to store the 44 39 edited Makefile and then copying it back over the original.</para> 45 40 -
chapter06/glibc-inst.xml
r1fda654 rea57e1b 2 2 <title>Installation of Glibc</title> 3 3 4 <para>Before starting to install glibc, unpack the glibc-2.2.3-nss.diff 5 file in the $LFS/usr/src tree. Then, once glibc has been unpacked as usual 6 and you have cd'ed into the 7 glibc-&glibc-version; directory, unpack glibc-linuxthreads inside 4 <para>Before starting to install glibc, you must cd into the 5 glibc-&glibc-version; directory and unpack glibc-linuxthreads inside 8 6 the glibc-&glibc-version; directory, not in /usr/src as you normally 9 7 would do.</para> … … 11 9 <para>Install Glibc by running the following commands:</para> 12 10 13 <para><screen><userinput>patch -Np0 -i ../glibc-2.2.3-nss.diff &&</userinput> 14 <userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> 11 <para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> 15 12 <userinput>touch /etc/ld.so.conf &&</userinput> 16 13 <userinput>mkdir ../glibc-build &&</userinput> -
index.xml
r1fda654 rea57e1b 91 91 <!ENTITY c3-makedev SYSTEM "chapter3/makedev.xml"> 92 92 <!ENTITY c3-glibc SYSTEM "chapter3/glibc.xml"> 93 <!ENTITY c3-glibc-patch SYSTEM "chapter3/glibc-patch.xml">94 93 <!ENTITY c3-glibc-threads SYSTEM "chapter3/glibc-threads.xml"> 95 94 <!ENTITY c3-manpages SYSTEM "chapter3/manpages.xml"> … … 484 483 <!ENTITY ac-makedev SYSTEM "appendixc/makedev.xml"> 485 484 <!ENTITY ac-glibc SYSTEM "appendixc/glibc.xml"> 486 <!ENTITY ac-glibc-patch SYSTEM "appendixc/glibc-patch.xml">487 485 <!ENTITY ac-glibc-threads SYSTEM "appendixc/glibc-threads.xml"> 488 486 <!ENTITY ac-manpages SYSTEM "appendixc/manpages.xml"> … … 520 518 <!ENTITY ac-nettools SYSTEM "appendixc/nettools.xml"> 521 519 522 <!ENTITY all-version "cvs-20010816-1 240">523 <!ENTITY all-size-kb "7 6,820 KB">524 <!ENTITY all-size-mb "75. 02MB">520 <!ENTITY all-version "cvs-20010816-1400"> 521 <!ENTITY all-size-kb "77,660 KB"> 522 <!ENTITY all-size-mb "75.84 MB"> 525 523 526 524 <!ENTITY bootscripts-version "lfs-bootscripts-cvs-20010806-0420"> … … 655 653 <!ENTITY gettext-time "1 minute"> 656 654 657 <!ENTITY glibc-version "2.2.3"> 658 <!ENTITY glibc-size "11,091 KB"> 659 <!ENTITY glibc-patch-size "1 KB"> 660 <!ENTITY glibc-threads-size "158.93 KB"> 655 <!ENTITY glibc-version "2.2.4"> 656 <!ENTITY glibc-size "11,932 KB"> 657 <!ENTITY glibc-threads-size "161 KB"> 661 658 <!ENTITY glibc-compsize "372 MB"> 662 659 <!ENTITY glibc-time "46 minutes">
Note:
See TracChangeset
for help on using the changeset viewer.