Changeset 615a565 for chapter06/coreutils.xml
- Timestamp:
- 02/07/2008 07:47:39 PM (16 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.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, 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:
- 9f5d040
- Parents:
- f0fecc7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/coreutils.xml
rf0fecc7 r615a565 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>
Note:
See TracChangeset
for help on using the changeset viewer.