diff -x appendices -x '*.tar.*' -x .svn -x stylesheets -x make-diff -x update.sh -x '*.ods' -Naur ../../trunk/BOOK/packages.ent ./packages.ent
old
|
new
|
|
553 | 553 | <!ENTITY patch-fin-du "12 MB"> |
554 | 554 | <!ENTITY patch-fin-sbu "0.2 SBU"> |
555 | 555 | |
556 | | <!ENTITY perl-version "5.30.3"> |
| 556 | <!ENTITY perl-version-major "5"> |
| 557 | <!ENTITY perl-version-minor "30"> |
| 558 | <!ENTITY perl-version-patch "3"> |
| 559 | <!ENTITY perl-version-min "&perl-version-major;.&perl-version-minor;"> |
| 560 | <!ENTITY perl-version "&perl-version-major;.&perl-version-minor;.&perl-version-patch;"> |
557 | 561 | <!ENTITY perl-size "12,088 KB"> |
558 | 562 | <!ENTITY perl-url "https://www.cpan.org/src/5.0/perl-&perl-version;.tar.xz"> |
559 | 563 | <!ENTITY perl-md5 "0af2ab0f01ec13e37cc13a27de930936"> |
560 | 564 | <!ENTITY perl-home "https://www.perl.org/"> |
561 | 565 | <!ENTITY perl-tmp-du "261 MB"> |
diff -x appendices -x '*.tar.*' -x .svn -x stylesheets -x make-diff -x update.sh -x '*.ods' -Naur ../../trunk/BOOK/chapter07/perl.xml ./chapter07/perl.xml
old
|
new
|
|
45 | 45 | |
46 | 46 | <para>Prepare Perl for compilation:</para> |
47 | 47 | |
48 | | <screen><userinput remap="configure">sh Configure -des -Dprefix=/usr</userinput></screen> |
| 48 | <screen><userinput remap="configure">sh Configure -des -Dprefix=/usr \ |
| 49 | -Dvendorprefix=/usr \ |
| 50 | -Dprivlib=/usr/share/perl5/core_perl \ |
| 51 | -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \ |
| 52 | -Dsitelib=/usr/share/perl5/site_perl \ |
| 53 | -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \ |
| 54 | -Dvendorlib=/usr/share/perl5/vendor_perl \ |
| 55 | -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl</userinput></screen> |
49 | 56 | |
50 | 57 | <variablelist> |
51 | 58 | <title>The meaning of the new Configure options:</title> |
diff -x appendices -x '*.tar.*' -x .svn -x stylesheets -x make-diff -x update.sh -x '*.ods' -Naur ../../trunk/BOOK/chapter08/perl.xml ./chapter08/perl.xml
old
|
new
|
|
63 | 63 | |
64 | 64 | <screen><userinput remap="configure">sh Configure -des -Dprefix=/usr \ |
65 | 65 | -Dvendorprefix=/usr \ |
| 66 | -Dprivlib=/usr/share/perl5/core_perl \ |
| 67 | -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \ |
| 68 | -Dsitelib=/usr/share/perl5/site_perl \ |
| 69 | -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \ |
| 70 | -Dvendorlib=/usr/share/perl5/vendor_perl \ |
| 71 | -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl \ |
66 | 72 | -Dman1dir=/usr/share/man/man1 \ |
67 | 73 | -Dman3dir=/usr/share/man/man3 \ |
68 | 74 | -Dpager="/usr/bin/less -isR" \ |
… |
… |
|
98 | 104 | </listitem> |
99 | 105 | </varlistentry> |
100 | 106 | |
| 107 | <varlistentry> |
| 108 | <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> |
| 109 | <listitem> |
| 110 | <para>This switches defines where Perl is looking for installed |
| 111 | modules. The LFS editors chose to put them in a directory structure |
| 112 | based on the Major.Minor version of Perl (&perl-version-min;) which |
| 113 | allows upgrading Perl to newer Patch levels (&perl-version;) without |
| 114 | the need to reinstall all of the modules again.</para> |
| 115 | </listitem> |
| 116 | </varlistentry> |
| 117 | |
101 | 118 | <varlistentry> |
102 | 119 | <term><parameter>-Duseshrplib</parameter></term> |
103 | 120 | <listitem> |