diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-30 16:06:46 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-30 16:06:46 +0000 |
commit | 5a986cbf759fcd9377e067f150241ef7f2b7e453 (patch) | |
tree | 2a37bfef0c81a2afd119b1f058a02c3e1ff8c901 /chapter08 | |
parent | 19e73cb8adcf3bd69369455e5f90ca068c8813af (diff) |
Update to perl-5.32.0.
Update to man-db-2.9.3.
Update to linux-5.7.6.
Update to check-0.15.0.
Update to bc-3.0.3.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11990 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/perl.xml | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/chapter08/perl.xml b/chapter08/perl.xml index fd5e07f06..7d27118ab 100644 --- a/chapter08/perl.xml +++ b/chapter08/perl.xml @@ -49,25 +49,26 @@ <screen><userinput remap="pre">export BUILD_ZLIB=False export BUILD_BZIP2=0</userinput></screen> -<!-- - <para>Apply a patch to allow the Errno.pm module and the h2ph - program to build correctly when building with GCC 5:</para> - -<screen><userinput remap="pre">patch -Np1 -i ../&perl-gcc5-fixes-patch;</userinput></screen> ---> <para>To have full control over the way Perl is set up, you can remove the <quote>-des</quote> options from the following command and hand-pick the way this package is built. Alternatively, use the command exactly as below to use the defaults that Perl auto-detects:</para> -<screen><userinput remap="configure">sh Configure -des -Dprefix=/usr \ - -Dvendorprefix=/usr \ - -Dman1dir=/usr/share/man/man1 \ - -Dman3dir=/usr/share/man/man3 \ - -Dpager="/usr/bin/less -isR" \ - -Duseshrplib \ - -Dusethreads</userinput></screen> + <screen><userinput remap="configure">sh Configure -des \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dprivlib=/usr/share/perl5/core_perl \ + -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \ + -Dsitelib=/usr/share/perl5/site_perl \ + -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \ + -Dvendorlib=/usr/share/perl5/vendor_perl \ + -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl \ + -Dman1dir=/usr/share/man/man1 \ + -Dman3dir=/usr/share/man/man3 \ + -Dpager="/usr/bin/less -isR" \ + -Duseshrplib \ + -Dusethreads</userinput></screen> <variablelist> <title>The meaning of the configure options:</title> @@ -112,6 +113,17 @@ export BUILD_BZIP2=0</userinput></screen> </listitem> </varlistentry> + <varlistentry> + <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term> + <listitem> + <para>These settings define where Perl is looking for installed + modules. The LFS editors chose to put them in a directory structure + based on the Major.Minor version of Perl (&perl-version-min;) which + allows upgrading Perl to newer Patch levels (&perl-version;) without + the need to reinstall all of the modules again.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |