- Timestamp:
- 10/29/2005 08:07:18 PM (19 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.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, 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:
- c0a8f91
- Parents:
- b63fcf7
- Location:
- chapter05
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/coreutils.xml
rb63fcf7 r6b59895 32 32 <para>Prepare Coreutils for compilation:</para> 33 33 34 <screen><userinput>DEFAULT_POSIX2_VERSION=199209 ./configure --prefix=/tools</userinput></screen> 35 36 <para>This package has an issue when compiled against versions of 37 Glibc later than 2.3.2. Some of the Coreutils utilities (such as 38 <command>head</command>, <command>tail</command>, and 39 <command>sort</command>) will reject their traditional syntax, a 40 syntax that has been in use for approximately 30 years. This old 41 syntax is so pervasive that compatibility should be preserved until 42 the many places where it is used can be updated. Backwards 43 compatibility is achieved by setting the 44 <envar>DEFAULT_POSIX2_VERSION</envar> environment variable to 45 <quote>199209</quote> in the above command. If you do not want 46 Coreutils to be backwards compatible with the traditional syntax, then 47 omit setting the <envar>DEFAULT_POSIX2_VERSION</envar> 48 environment variable. It is important to remember that doing so will 49 have consequences, including the need to patch the many packages that 50 still use the old syntax. Therefore, it is recommended that the 51 instructions be followed exactly as given above.</para> 34 <screen><userinput>./configure --prefix=/tools</userinput></screen> 52 35 53 36 <para>Compile the package:</para> -
chapter05/perl.xml
rb63fcf7 r6b59895 35 35 <screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen> 36 36 37 <para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX' 38 part of the command correct—they are all letters):</para> 37 <para>Prepare Perl for compilation (make sure to get the 38 'Data/Dumper Fcntl IO POSIX' part of the command correct—they are all 39 letters):</para> 39 40 40 <screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext=' IO FcntlPOSIX'</userinput></screen>41 <screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='Data/Dumper Fcntl IO POSIX'</userinput></screen> 41 42 42 43 <para>The meaning of the configure options:</para> … … 44 45 <variablelist> 45 46 <varlistentry> 46 <term><parameter>-Dstatic_ext=' IO FcntlPOSIX'</parameter></term>47 <term><parameter>-Dstatic_ext='Data/Dumper Fcntl IO POSIX'</parameter></term> 47 48 <listitem><para>This tells Perl to build the minimum set of static 48 49 extensions needed for installing and testing the Coreutils package in
Note:
See TracChangeset
for help on using the changeset viewer.