Changeset 8470
- Timestamp:
- 02/07/08 12:47:39 (10 months ago)
- Files:
-
- trunk/BOOK/chapter01/changelog.xml (modified) (1 diff)
- trunk/BOOK/chapter03/patches.xml (modified) (1 diff)
- trunk/BOOK/chapter05/coreutils.xml (modified) (1 diff)
- trunk/BOOK/chapter05/perl.xml (modified) (1 diff)
- trunk/BOOK/chapter06/chapter06.xml (modified) (1 diff)
- trunk/BOOK/chapter06/coreutils.xml (modified) (4 diffs)
- trunk/BOOK/chapter06/mktemp.xml (deleted)
- trunk/BOOK/packages.ent (modified) (1 diff)
- trunk/BOOK/patches.ent (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BOOK/chapter01/changelog.xml
r8469 r8470 41 41 <itemizedlist> 42 42 <listitem> 43 <para>[matthew] - Upgraded to Coreutils-6.10. Removed Mktemp-1.5 as 44 Coreutils provides its own implementation now. Removed the coreutils 45 binary suppression patch as the configure script can now be given a 46 list of programs not to install. Fixes 47 <ulink url="&lfs-ticket-root;2133">#2133</ulink>.</para> 48 </listitem> 49 <listitem> 43 50 <para>[matthew] - Upgraded to E2fsprogs-1.40.5. Fixes 44 51 <ulink url="&lfs-ticket-root;2138">#2138</ulink>.</para> trunk/BOOK/chapter03/patches.xml
r8457 r8470 52 52 53 53 <varlistentry> 54 <term>Coreutils Suppress Uptime, Kill, Su Patch - <token>&coreutils-suppress-patch-size;</token>:</term>55 <listitem>56 <para>Download: <ulink url="&patches-root;&coreutils-suppress-patch;"/></para>57 <para>MD5 sum: <literal>&coreutils-suppress-patch-md5;</literal></para>58 </listitem>59 </varlistentry>60 61 <varlistentry>62 54 <term>Coreutils Uname Patch - <token>&coreutils-uname-patch-size;</token>:</term> 63 55 <listitem> trunk/BOOK/chapter05/coreutils.xml
r8389 r8470 44 44 <title>Installation of Coreutils</title> 45 45 46 <para>The version of the function <quote>futimens</quote> used47 by Coreutils is incompatible with the version that current48 Glibc provides, so we'll rename the function:</para>49 50 <screen><userinput remap="pre">for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \51 cp -v $file{,.orig}52 sed 's/futimens/gl_&/' $file.orig > $file53 done</userinput></screen>54 55 46 <para>Prepare Coreutils for compilation:</para> 56 47 57 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 48 <screen><userinput remap="configure">./configure --prefix=/tools --enable-install-program=hostname</userinput></screen> 49 50 <variablelist> 51 <title>The meaning of the configure options:</title> 52 53 <varlistentry> 54 <term><envar>--enable-install-program=hostname</envar></term> 55 <listitem> 56 <para>This enables the <command>hostname</command> binary to be built 57 and installed – it is disabled by default but is required by the 58 Perl test suite.</para> 59 </listitem> 60 </varlistentry> 61 </variablelist> 58 62 59 63 <para>Compile the package:</para> trunk/BOOK/chapter05/perl.xml
r8389 r8470 74 74 </variablelist> 75 75 76 <para>Only a few of the utilities contained in this package need to be77 built:</para>76 <para>Only a few of the utilities contained in this package, and one of its 77 libraries need to be built:</para> 78 78 79 <screen><userinput remap="make">make perl utilities </userinput></screen>79 <screen><userinput remap="make">make perl utilities ext/Errno/pm_to_blib</userinput></screen> 80 80 81 81 <para>Although Perl comes with a test suite, it is not recommended to trunk/BOOK/chapter06/chapter06.xml
r8458 r8470 57 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/> 58 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man-db.xml"/> 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mktemp.xml"/>60 59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="module-init-tools.xml"/> 61 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/> trunk/BOOK/chapter06/coreutils.xml
r8389 r8470 42 42 <title>Installation of Coreutils</title> 43 43 44 <para>The version of the function <quote>futimens</quote> used45 by Coreutils is incompatible with the version that current46 Glibc provides, so we'll rename the function:</para>47 48 <screen><userinput remap="pre">sed -i 's/futimens/gl_&/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen>49 50 44 <para>A known issue with the <command>uname</command> program from 51 45 this package is that the <parameter>-p</parameter> switch always … … 54 48 55 49 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> 56 57 <para>Prevent Coreutils from installing binaries that will be installed by58 other packages later:</para>59 60 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>61 50 62 51 <para>POSIX requires that programs from Coreutils recognize character … … 79 68 <para>Now prepare Coreutils for compilation:</para> 80 69 81 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 70 <screen><userinput remap="configure">./configure --prefix=/usr --enable-install-program=hostname --enable-no-install-program=kill</userinput></screen> 71 72 <variablelist> 73 <title>The meaning of the configure options:</title> 74 75 <varlistentry> 76 <term><parameter>--enable-no-install-program=kill</parameter></term> 77 <listitem> 78 <para>The purpose of this switch is to prevent Coreutils from 79 installing binaries that will be installed by other packages later. 80 </para> 81 </listitem> 82 </varlistentry> 83 </variablelist> 82 84 83 85 <para>Compile the package:</para> … … 100 102 101 103 <screen><userinput remap="test">echo "dummy:x:1000:nobody" >> /etc/group</userinput></screen> 104 105 <para>Fix some of the permissions so that the non-root user can compile and 106 run the tests:</para> 107 108 <screen><userinput remap="test">chown -v nobody gnulib-tests/.deps</userinput></screen> 102 109 103 110 <para>Now run the tests:</para> trunk/BOOK/packages.ent
r8469 r8470 73 73 <!ENTITY bzip2-ch6-sbu "less than 0.1 SBU"> 74 74 75 <!ENTITY coreutils-version "6. 9">76 <!ENTITY coreutils-size " 5,258 KB">77 <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar. bz2">78 <!ENTITY coreutils-md5 " c9607d8495f16e98906e7ed2d9751a06">75 <!ENTITY coreutils-version "6.10"> 76 <!ENTITY coreutils-size "8,978 KB"> 77 <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.gz"> 78 <!ENTITY coreutils-md5 "eca0de1bf7389694305d7e52cd76a472"> 79 79 <!ENTITY coreutils-home "&gnu-software;coreutils/"> 80 80 <!ENTITY coreutils-ch5-du "67.6 MB"> trunk/BOOK/patches.ent
r8457 r8470 18 18 19 19 <!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch"> 20 <!ENTITY coreutils-i18n-patch-md5 "806ce5bcb16a763a77bea411ec5ff637"> 21 <!ENTITY coreutils-i18n-patch-size "101 KB"> 22 23 <!ENTITY coreutils-suppress-patch "coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch"> 24 <!ENTITY coreutils-suppress-patch-md5 "e8ae92cdec364ca2a318f5c4c77bf032"> 25 <!ENTITY coreutils-suppress-patch-size "13 KB"> 20 <!ENTITY coreutils-i18n-patch-md5 "791df67d25a45d846c1af4dadf2612c8"> 21 <!ENTITY coreutils-i18n-patch-size "102 KB"> 26 22 27 23 <!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch">
