- Timestamp:
- 03/31/2021 10:41:39 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 51b58ad
- Parents:
- 07b2c96
- git-author:
- Thomas Trepl <thomas@…> (07/01/2020 11:23:05 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/perl.xml
r07b2c96 rce2f9d8 50 50 <screen><userinput remap="pre">export BUILD_ZLIB=False 51 51 export BUILD_BZIP2=0</userinput></screen> 52 <!--53 <para>Apply a patch to allow the Errno.pm module and the h2ph54 program to build correctly when building with GCC 5:</para>55 56 <screen><userinput remap="pre">patch -Np1 -i ../&perl-gcc5-fixes-patch;</userinput></screen>57 -->58 52 59 53 <para>To have full control over the way Perl is set up, you can remove the … … 62 56 use the defaults that Perl auto-detects:</para> 63 57 64 <screen><userinput remap="configure">sh Configure -des -Dprefix=/usr \ 65 -Dvendorprefix=/usr \ 66 -Dman1dir=/usr/share/man/man1 \ 67 -Dman3dir=/usr/share/man/man3 \ 68 -Dpager="/usr/bin/less -isR" \ 69 -Duseshrplib \ 70 -Dusethreads</userinput></screen> 58 <screen><userinput remap="configure">sh Configure -des \ 59 -Dprefix=/usr \ 60 -Dvendorprefix=/usr \ 61 -Dprivlib=/usr/share/perl5/core_perl \ 62 -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \ 63 -Dsitelib=/usr/share/perl5/site_perl \ 64 -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \ 65 -Dvendorlib=/usr/share/perl5/vendor_perl \ 66 -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl \ 67 -Dman1dir=/usr/share/man/man1 \ 68 -Dman3dir=/usr/share/man/man3 \ 69 -Dpager="/usr/bin/less -isR" \ 70 -Duseshrplib \ 71 -Dusethreads</userinput></screen> 71 72 72 73 <variablelist> … … 110 111 <listitem> 111 112 <para>Build perl with support for threads.</para> 113 </listitem> 114 </varlistentry> 115 116 <varlistentry> 117 <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> 118 <listitem> 119 <para>These settings define where Perl is looking for installed 120 modules. The LFS editors chose to put them in a directory structure 121 based on the Major.Minor version of Perl (&perl-version-min;) which 122 allows upgrading Perl to newer Patch levels (&perl-version;) without 123 the need to reinstall all of the modules again.</para> 112 124 </listitem> 113 125 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.