Changeset 4e7b5fa for chapter05/perl.xml
- Timestamp:
- 06/26/2011 10:26:46 PM (13 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, 12.2, 12.2-rc1, 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/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 35aef6b
- Parents:
- 84a3d86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/perl.xml
r84a3d86 r4e7b5fa 49 49 <screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen> 50 50 51 < !-- <para>Fix an incompatibility with gcc-&gcc-version;:</para>51 <para>Prepare Perl for compilation:</para> 52 52 53 <screen><userinput remap="pre">mv -v makedepend.SH{,.orig} 54 sed 's/command /command[ -]/' makedepend.SH.orig > makedepend.SH</userinput></screen> --> 53 <screen><userinput remap="configure">sh Configure -des -Dprefix=/tools</userinput></screen> 55 54 56 <para>Prepare Perl for compilation (make sure to get the 57 'Data/Dumper Fcntl IO' part of the command correct—they are all 58 letters):</para> 55 <para>Build the package:</para> 59 56 60 <screen><userinput remap="configure">sh Configure -des -Dprefix=/tools \ 61 -Dstatic_ext='Data/Dumper Fcntl IO'</userinput></screen> 57 <screen><userinput remap="make">make</userinput></screen> 62 58 63 < variablelist>64 <title>The meaning of the configure options:</title>59 <para>Although Perl comes with a test suite, it would be better to wait 60 until it is insalled in the next chapter.</para> 65 61 66 <varlistentry> 67 <term><parameter>-Dstatic_ext='Data/Dumper Fcntl IO'</parameter></term> 68 <listitem> 69 <para>This tells Perl to build the minimum set of static extensions 70 needed for installing and testing the Coreutils and Glibc packages in the 71 next chapter.</para> 72 </listitem> 73 </varlistentry> 62 <para>Only a few of the utilities and libraries, need to be installed at this 63 time:</para> 74 64 75 </variablelist> 76 77 <para>Only a few of the utilities contained in this package, and one of its 78 libraries, need to be built:</para> 79 80 <screen><userinput remap="make">make perl utilities ext/Errno/pm_to_blib</userinput></screen> 81 82 <para>Although Perl comes with a test suite, it is not recommended to 83 run it at this point. Only part of Perl was built and running 84 <command>make test</command> now will cause the rest of Perl to be 85 built as well, which is unnecessary at this point. The test suite can 86 be run in the next chapter if desired.</para> 87 88 <para>Install these tools and their libraries:</para> 89 90 <screen><userinput remap="install">cp -v perl pod/pod2man /tools/bin 65 <screen><userinput remap="install">cp -v perl cpan/podlators/pod2man /tools/bin 91 66 mkdir -pv /tools/lib/perl5/&perl-version; 92 67 cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.