- Timestamp:
- 06/30/2020 04:06:46 PM (4 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, 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:
- 25771c3
- Parents:
- 19e73cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/perl.xml
r19e73cb r5a986cbf 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.