Changeset d9afe96


Ignore:
Timestamp:
01/15/2006 09:36:56 PM (16 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
b9c594f0
Parents:
231e47d
Message:

Minor textual fixes and alphabetized the Perl Modules instructions (2 of 2)

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

File:
1 edited

Legend:

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

    r231e47d rd9afe96  
    720720    </itemizedlist>
    721721
     722    <!-- SGMLSpm -->
     723    <bridgehead renderas="sect3" id="perl-sgmlspm"
     724    xreflabel="SGMLSpm-&SGMLSpm-version;">
     725    SGMLSpm-&SGMLSpm-version;</bridgehead>
     726
     727    <indexterm zone="perl-modules perl-sgmlspm">
     728      <primary sortas="g-SGMLSpm">SGMLSpm</primary>
     729    </indexterm>
     730
     731    <para>The SGMLSpm module is a <application>Perl</application> library
     732    used for parsing the output from James Clark's SGMLS and NSGMLS
     733    parsers. This module requires modified installation instructions, shown
     734    below.</para>
     735
     736    <itemizedlist spacing='compact'>
     737      <listitem>
     738        <para><ulink
     739        url="http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">
     740        SGMLSpm-&SGMLSpm-version;</ulink></para>
     741      </listitem>
     742    </itemizedlist>
     743
     744    <para>If your system's <application>Perl</application> version is different
     745    than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
     746    command below to reflect the version you have installed.</para>
     747
     748<screen><userinput>sed -i -e "s@/usr/local/bin@/usr/bin@" \
     749       -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
     750       -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
     751    Makefile</userinput></screen>
     752
     753    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     754
     755<screen role="root"><userinput>make install &amp;&amp;
     756install -v -m755 -d /usr/share/doc/perl5 &amp;&amp;
     757make install_html &amp;&amp;
     758rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &amp;&amp;
     759install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</userinput></screen>
     760
    722761    <!-- Test::Pod -->
    723762    <bridgehead renderas="sect3" id="perl-test-pod"
    724     xreflabel="Test::Pod">The Test::Pod Module</bridgehead>
     763    xreflabel="Test::Pod-&Test-Pod-version;">
     764    Test::Pod-&Test-Pod-version;</bridgehead>
    725765
    726766    <indexterm zone="perl-modules perl-test-pod">
     
    728768    </indexterm>
    729769
    730     <para>Another useful module, and one which is (typically optionally) used
    731     by other modules during the build process is the Test:Pod module. This
    732     module is used to check the validity of POD (Plain Old Documentation)
    733     files. The Test::Pod module is typically included by module authors to
    734     automatically find and check all POD files in a module distribution. This
    735     module and all the dependencies can be installed using the
     770    <para>The Test:Pod module is (most of the time, optionally) used by other
     771    modules during the build process to check the validity of POD (Plain Old
     772    Documentation) files. The Test::Pod module is typically included by module
     773    authors to automatically find and check all POD files in a module
     774    distribution. This module and all the dependencies can be installed using the
    736775    <xref linkend="perl-standard-install"/>.</para>
    737776
     
    773812    <!-- Test::Simple -->
    774813    <bridgehead renderas="sect3" id="perl-test-simple"
    775     xreflabel="Test::Simple">The Test::Simple Module</bridgehead>
     814    xreflabel="Test::Simple-&Test-Simple-version;">
     815    Test::Simple-&Test-Simple-version;</bridgehead>
    776816
    777817    <indexterm zone="perl-modules perl-test-simple">
     
    802842    </itemizedlist>
    803843
    804     <!-- XML::Parser -->
    805     <bridgehead renderas="sect3" id="perl-xml-parser"
    806     xreflabel="XML::Parser">The XML::Parser Module</bridgehead>
    807 
    808     <indexterm zone="perl-modules perl-xml-parser">
    809       <primary sortas="g-XML-Parser">XML::Parser</primary>
    810     </indexterm>
    811 
    812     <para>The XML::Parser module is a <application>Perl</application> extension
    813     interface to James Clark's XML parser,
    814     <application>expat</application>. The module can be installed using the
    815     <application>Perl</application> Module
    816     <xref linkend="perl-standard-install"/>.</para>
    817 
    818     <itemizedlist spacing='compact'>
    819       <listitem>
    820         <para><ulink
    821         url="http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">
    822         XML-Parser-&XML-Parser-version;</ulink></para>
    823 
    824         <itemizedlist>
    825           <listitem>
    826             <para><xref linkend="expat"/></para>
    827           </listitem>
    828         </itemizedlist>
    829 
    830       </listitem>
    831     </itemizedlist>
    832 
    833     <!-- SGMLSpm -->
    834     <bridgehead renderas="sect3" id="perl-sgmlspm"
    835     xreflabel="SGMLSpm">The SGMLSpm Module</bridgehead>
    836 
    837     <indexterm zone="perl-modules perl-sgmlspm">
    838       <primary sortas="g-SGMLSpm">SGMLSpm</primary>
    839     </indexterm>
    840 
    841     <para>The SGMLSpm module is a <application>Perl</application> library
    842     used for parsing the output from James Clark's SGMLS and NSGMLS
    843     parsers. This module requires modified installation instructions, shown
    844     below.</para>
    845 
    846     <itemizedlist spacing='compact'>
    847       <listitem>
    848         <para><ulink
    849         url="http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-&SGMLSpm-version;.tar.gz">
    850         SGMLSpm-&SGMLSpm-version;</ulink></para>
    851       </listitem>
    852     </itemizedlist>
    853 
    854     <para>If your system's <application>Perl</application> version is different
    855     than &LFS-Perl-version;, you'll need to modify the <command>sed</command>
    856     command below to reflect the version you have installed.</para>
    857 
    858 <screen><userinput>sed -i -e "s@/usr/local/bin@/usr/bin@" \
    859        -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/&LFS-Perl-version;@" \
    860        -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
    861     Makefile</userinput></screen>
    862 
    863     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    864 
    865 <screen role="root"><userinput>make install &amp;&amp;
    866 install -v -d -m755 /usr/share/doc/perl5 &amp;&amp;
    867 make install_html &amp;&amp;
    868 rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &amp;&amp;
    869 install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm</userinput></screen>
    870 
    871844    <!-- Tk -->
    872845    <bridgehead renderas="sect3" id="perl-tk"
    873     xreflabel="Perl-Tk">The Tk Module</bridgehead>
     846    xreflabel="Perl-Tk-&Perl-Tk-version;">
     847    Tk-&Perl-Tk-version;</bridgehead>
    874848
    875849    <indexterm zone="perl-modules perl-tk">
     
    902876    </itemizedlist>
    903877
     878    <!-- XML::Parser -->
     879    <bridgehead renderas="sect3" id="perl-xml-parser"
     880    xreflabel="XML::Parser-&XML-Parser-version;">
     881    XML::Parser-&XML-Parser-version;</bridgehead>
     882
     883    <indexterm zone="perl-modules perl-xml-parser">
     884      <primary sortas="g-XML-Parser">XML::Parser</primary>
     885    </indexterm>
     886
     887    <para>The XML::Parser module is a <application>Perl</application> extension
     888    interface to James Clark's XML parser,
     889    <application>expat</application>. The module can be installed using the
     890    <application>Perl</application> Module
     891    <xref linkend="perl-standard-install"/>.</para>
     892
     893    <itemizedlist spacing='compact'>
     894      <listitem>
     895        <para><ulink
     896        url="http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-&XML-Parser-version;.tar.gz">
     897        XML-Parser-&XML-Parser-version;</ulink></para>
     898
     899        <itemizedlist>
     900          <listitem>
     901            <para><xref linkend="expat"/></para>
     902          </listitem>
     903        </itemizedlist>
     904
     905      </listitem>
     906    </itemizedlist>
     907
    904908  </sect2>
    905909
     
    925929
    926930    <para>There is an alternate way of installing the modules using
    927     <application>Perl</application>'s built-in <command>install</command> command.
    928     The command automatically downloads the source from the CPAN
    929     archive, extracts it, runs the commands mentioned above, and removes the build
    930     tree. You may still need to install dependent library packages before running
    931     the automated installation method.</para>
     931    <application>Perl</application>'s built-in <command>install</command>
     932    command. The command automatically downloads the source from the CPAN
     933    archive, extracts it, runs the commands mentioned above, and removes the
     934    build source tree. You may still need to install dependent library
     935    packages before running the automated installation method.</para>
    932936
    933937    <para>The first time you run this command, you'll be prompted to enter some
     
    939943<screen role="root"><userinput>perl -MCPAN -e shell</userinput></screen>
    940944
    941     <para>Each module may now be installed from this shell with the command:</para>
     945    <para>Each module may now be installed from this shell with the
     946    command:</para>
    942947
    943948<screen role="root"><userinput>install <replaceable>[Module::Name]</replaceable></userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.