mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-08 10:37:22 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1933 af4574ff-66df-0310-9fd7-8a98e5e911e0
44 lines
1.5 KiB
XML
44 lines
1.5 KiB
XML
<sect2>
|
|
<title>Installation of <application>Perl</application> modules</title>
|
|
|
|
<para>Install <application>Perl</application> modules by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>perl Makefile.PL &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
<para>Below are modules that require some modifications to standard
|
|
instructions or certain parameters in order to install
|
|
successfully.</para>
|
|
|
|
<para>Gtk-Perl-&Gtk-Perl-version;:</para>
|
|
|
|
<screen><userinput><command>perl Makefile.PL --without-guessing &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>(Alternate) Auto installation of <application>Perl</application>
|
|
modules.</title>
|
|
|
|
<para>There is an alternate way of installing the modules using
|
|
<application>Perl</application>'s built-in <command>install</command> command.
|
|
The command automatically downloads the source from the <acronym>CPAN</acronym>
|
|
archive, extracts it, runs the commands mentioned above, and removes
|
|
the build tree. Though note that it is not very <acronym>LFS</acronym>-like
|
|
thing to do and as such is not supported.</para>
|
|
|
|
<para>Start the perl shell with the commands:</para>
|
|
|
|
<screen><userinput><command>perl -MCPAN -e shell</command></userinput></screen>
|
|
|
|
<para>Each module may now be installed from this shell with the command:</para>
|
|
|
|
<screen><userinput><command>install <moduleName></command></userinput></screen>
|
|
|
|
<para>For additional commands and help, type <command>help</command>.</para>
|
|
|
|
</sect2>
|