Changeset 9720145
- Timestamp:
- 05/11/2003 05:03:47 PM (21 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, 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:
- d5d42d2
- Parents:
- b8770e4e
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rb8770e4e r9720145 40 40 <listitem><para>binutils-2.13.2-libc.patch</para></listitem> 41 41 <listitem><para>coreutils-5.0</para></listitem> 42 <listitem><para>coreutils-5.0-uname.patch</para></listitem> 42 43 <listitem><para>dejagnu-1.4.3</para></listitem> 43 44 <listitem><para>expect-5.38</para></listitem> … … 67 68 </itemizedlist> 68 69 </para></listitem> 70 71 <listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Install Coreutils: 72 Fix some functionality of the uname command with a patch.</para></listitem> 73 74 <listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Installing Net-tools: 75 Just do regular old "make install" instead of "make update". The latter 76 works fine now.</para></listitem> 77 78 <listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Installing GCC: 79 After installation, remove /usr/include/libiberty.h. It is not used 80 outside of the GCC build tree.</para></listitem> 69 81 70 82 <listitem><para>May 11th, 2003 [winkie]: Upgraded to Bash 2.05b and -
chapter04/packages.xml
rb8770e4e r9720145 15 15 &c4-bzip2; 16 16 &c4-coreutils; 17 &c4-coreutils-patch; 17 18 &c4-dejagnu; 18 19 &c4-diffutils; -
chapter05/bzip2-inst.xml
rb8770e4e r9720145 10 10 11 11 <para><screen><userinput>make -f Makefile-libbz2_so 12 make clean 12 13 make 13 14 make check -
chapter06/bzip2-inst.xml
rb8770e4e r9720145 6 6 <para>Begin compiling the package:</para> 7 7 8 <para><screen><userinput>make -f Makefile-libbz2_so</userinput></screen></para> 8 <para><screen><userinput>make -f Makefile-libbz2_so && 9 make clean</userinput></screen></para> 9 10 10 11 <para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built -
chapter06/coreutils-inst.xml
rb8770e4e r9720145 4 4 <title>Installation of Coreutils</title> 5 5 6 <para><screen><userinput>./configure --prefix=/usr 7 make 8 make install 9 mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin && 6 <para>Normally the functionality of uname is somewhat broken, in that 7 the -p switch always returns "unknown". This patch fixes that behaviour:</para> 8 9 <para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-patch-version;.patch</userinput></screen></para> 10 11 <para>Prepare Coreutils to be compiled:</para> 12 13 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 14 15 <para>Continue with compiling the package:</para> 16 17 <para><screen><userinput>make</userinput></screen></para> 18 19 <para>Install the package:</para> 20 21 <para><screen><userinput>make install</userinput></screen></para> 22 23 <para>Move files to their proper locations:</para> 24 25 <para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin && 10 26 mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin && 11 27 mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin && 12 28 mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin && 13 29 mv /usr/bin/{touch,true,uname,vdir} /bin 14 mv /usr/bin/chroot /usr/sbin 15 ln -s test /bin/[ 30 mv /usr/bin/chroot /usr/sbin</userinput></screen></para> 31 32 <para>Finally, create a few necessary symlinks</para> 33 34 <para><screen><userinput>ln -s test /bin/[ 16 35 ln -s ../../bin/install /usr/bin</userinput></screen></para> 17 18 36 19 37 </sect2> -
chapter06/gcc-inst.xml
rb8770e4e r9720145 76 76 77 77 <para><screen><userinput>rm /usr/lib/libiberty.a</userinput></screen></para> 78 <para><screen><userinput>rm /usr/include/libiberty.h</userinput></screen></para> 78 79 79 80 </sect2> -
chapter06/nettools-inst.xml
rb8770e4e r9720145 26 26 <para>Finish installing the package:</para> 27 27 28 <para><screen><userinput>make update</userinput></screen></para> 29 30 <para>The <emphasis>update</emphasis> option to <userinput>make</userinput> 31 works similarly to the <emphasis>install</emphasis> option, with one 32 exception: it doesn't make backups of files it's replacing.</para> 33 34 <para>If you decide to reinstall this package at some point in the 35 future, a <userinput>make update</userinput> won't backup all the files 36 from a previous net-tools installation.</para> 28 <para><screen><userinput>make install</userinput></screen></para> 37 29 38 30 </sect2> -
chapter06/zlib-inst.xml
rb8770e4e r9720145 15 15 ./configure --prefix=/usr --shared</userinput></screen></para> 16 16 17 make clean 18 ./configure --prefix=/usr 19 make 20 make install 21 17 22 <para>The <emphasis>-fPIC</emphasis> flag helps to assure 18 23 quality in the dynamic zlib library.</para> 19 24 20 <para>Some packages expect a static zlib library to be present 21 on the system. To satisfy those programs, compile both the 22 shared and static libraries:</para> 23 24 <para><screen><userinput>make LIBS="libz.so.1.1.4 libz.a"</userinput></screen></para> 25 <para><screen><userinput>make</userinput></screen></para> 25 26 26 27 <para>Install the libraries:</para> 27 28 28 <para><screen><userinput>make LIBS="libz.so.1.1.4 libz.a" install</userinput></screen></para> 29 <para><screen><userinput>make install && 30 make clean && 31 ./configure --prefix=/usr && 32 make && 33 make install</userinput></screen></para> 29 34 30 35 <para>The shared zlib library should be installed in the -
entities/coreutils.ent
rb8770e4e r9720145 1 1 <!ENTITY c4-coreutils SYSTEM "../chapter04/coreutils.xml"> 2 <!ENTITY c4-coreutils-patch SYSTEM "../chapter04/coreutils-patch.xml"> 2 3 3 4 <!ENTITY c5-coreutils SYSTEM "../chapter05/coreutils.xml"> … … 14 15 15 16 <!ENTITY coreutils-version "5.0"> 16 <!ENTITY coreutils-depversion " 3.1.0">17 <!ENTITY coreutils-contversion " 3.1.1">17 <!ENTITY coreutils-depversion ""> 18 <!ENTITY coreutils-contversion ""> 18 19 <!ENTITY coreutils-size "1,831 KB"> 19 <!ENTITY coreutils-patch-size "1 KB">20 <!ENTITY coreutils-patch-version "3.1.1-3">21 20 <!ENTITY coreutils-dir "coreutils-&coreutils-version;"> 22 21 <!ENTITY coreutils-package "coreutils-&coreutils-version;.tar.bz2"> 22 <!ENTITY coreutils-patch-size "1 KB"> 23 <!ENTITY coreutils-patch-version "5.0-uname"> 23 24 24 25 <!ENTITY coreutils-compsize-static "17 MB">
Note:
See TracChangeset
for help on using the changeset viewer.