Changeset c93f431


Ignore:
Timestamp:
09/28/2018 04:43:17 AM (6 years ago)
Author:
Ken Moffat <ken@…>
Branches:
perl-modules
Children:
9a774ed1
Parents:
8857a6c
Message:

perl modules branch: If a module requires a variation of the install for scripting, such as using yes, hardcode the installation instructions and provide a command explanation.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/perl-modules@20547 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general/prog/perl-deps/perl-net-ssleay.xml

    r8857a6c rc93f431  
    4848
    4949      <para>
    50         If you are scripting, you will wish to prefix 'perl Makefile.PL' with
    51         'yes "" | ' since some user input is sought.
     50        This module uses a variant of the standard build and installation
     51        instructions:
     52
     53<screen><userinput>yes 'n' perl Makefile.PL &amp;&amp;
     54make             &amp;&amp;
     55make test</userinput></screen>
     56
     57        Now, as the <systemitem class="username">root</systemitem> user:
     58
     59<screen role="root"><userinput>make install</userinput></screen>
     60
     61    </para>
     62
     63    </sect3>
     64
     65    <sect3 role="commands">
     66      <title>Command Explanations</title>
     67
     68      <para>
     69        <command>yes 'n'</command>: Perl will ask if you wish to run external
     70        tests, which will fail if you do not have network connectivity. The
     71        default in 'n', specifying the response allows you to script the build.
    5272      </para>
    53 
    54       <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    55                   href="../../../xincludes/perl-standard-install.xml"/>
    5673
    5774    </sect3>
  • general/prog/perl-deps/perl-xml-sax.xml

    r8857a6c rc93f431  
    5858      <title>Installation of XML::SAX</title>
    5959
    60       <para>
    61         This module asks if you wish to allow it to alter ParserDetails.ini.
    62         If you are scripting, you will wish to change 'make' to 'yes | make'.
    6360        <!-- claimed to not support parallel building, but all it does is
    6461         copy a few files, works with -j4 although running parallel builds
    6562         on modules is usually not beneficial : Ken -->
     63
     64      <para>
     65        This module uses a variant of the standard build and installation
     66         instructions:
     67
     68<screen><userinput>yes | perl Makefile.PL &amp;&amp;
     69make             &amp;&amp;
     70make test</userinput></screen>
     71
     72        Now, as the <systemitem class="username">root</systemitem> user:
     73
     74<screen role="root"><userinput>make install</userinput></screen>
     75
    6676      </para>
    6777
    68       <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    69                   href="../../../xincludes/perl-standard-install.xml"/>
     78    </sect3>
     79
     80    <sect3 role="commands">
     81      <title>Command Explanations</title>
     82
     83      <para>
     84        <command>yes</command>: Perl will ask if you want it to alter
     85        ParserDetails.ini and then wait for a response. The default is
     86        'y'. Using 'yes' allows you to script this.
     87      </para>
    7088
    7189    </sect3>
  • introduction/welcome/changelog.xml

    r8857a6c rc93f431  
    4444
    4545    <listitem>
    46       <para>September 29th, 2018</para>
     46      <para>September 27th, 2018</para>
    4747      <itemizedlist>
    4848        <listitem>
  • template/template-perl-module.xml

    r8857a6c rc93f431  
    7575                  href="../../../xincludes/perl-build-install.xml"/>
    7676
     77<!-- Exceptionally, if a scripted build requires a value to be passed to 'yes',
     78  copy the xinclude inline and add the command explanation -->
     79    </sect3>
     80
     81    <!-- only include a command explanation if yes or similar is needed in
     82       scripting -->
     83    <sect3 role="commands">
     84      <title>Command Explanations</title>
     85
     86      <para>
     87        <command>yes 'n'</command>: Perl will ask if you wish to do ...
     88        and will wait for a response. Using 'yes' allows you to script this.
     89      </para>
     90
    7791    </sect3>
    7892
Note: See TracChangeset for help on using the changeset viewer.