Ignore:
Timestamp:
06/07/2017 02:41:21 AM (7 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c780991
Parents:
150482f
Message:

Document how to install those perl modules which still reference the current directory in @INC.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18806 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/perl-modules.xml

    r150482f r69c70ea  
    864864
    865865    <para>The Encode::HanExtra module provides extra sets of Chinese Encodings.
    866     This module uses the standard <xref linkend="perl-standard-install"/>.</para>
     866    This module uses the 'unsafe' variant of the standard
     867    <xref linkend="perl-standard-install"/>.</para>
    867868
    868869    &lfs80_checked;
     
    12251226                <itemizedlist>
    12261227                  <listitem> <literallayout><ulink url="http://search.cpan.org/dist/Test-LeakTrace/">Test::LeakTrace</ulink>
    1227 (http://search.cpan.org/dist/Test-LeakTrace/) (for the testsuite)</literallayout>
     1228(http://search.cpan.org/dist/Test-LeakTrace/) (for the testsuite) - this uses the 'unsafe' variant of the Standard Installation</literallayout>
    12281229                  </listitem>
    12291230                </itemizedlist>
     
    20312032
    20322033    <para>
    2033       Unicode::Collate provides a Unicode collation algorithm. This is a core
    2034       perl module, but <xref linkend="biber"/> needs a newer version.
    2035       This module uses the standard
     2034      Unicode::Collate provides a Unicode collation algorithm.
     2035      This module uses the 'unsafe' variant of the standard
    20362036      <xref linkend="perl-standard-install"/>.
    20372037    </para>
     
    23712371make &amp;&amp;
    23722372make test</userinput></screen>
     2373
     2374    <note>
     2375      <para>If the module is described as using the <emphasis>unsafe</emphasis>
     2376      variant of the Standard Installation, and you are using
     2377      <application>perl-5.26.0</application> or later, (the use of the current
     2378      directory in <literal>@INC</literal> was removed for security reasons)
     2379      you should change the perl invocation to:</para>
     2380
     2381<screen><userinput>PERL_USE_UNSAFE_INC=1 &amp;&amp;</userinput></screen>
     2382
     2383      <para>If, however, you are using the Auto Installation described below,
     2384      that environment variable will be set whenever the <command>cpan</command>
     2385      shell <command>install</command> is used.</para>
     2386    </note>
    23732387
    23742388    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
Note: See TracChangeset for help on using the changeset viewer.