[1fa2099] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-tools-perl" role="wrap">
|
---|
| 9 | <?dbhtml filename="perl.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>perl</productname>
|
---|
| 13 | <productnumber>&perl-version;</productnumber>
|
---|
| 14 | <address>&perl-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Perl-&perl-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-tools-perl">
|
---|
| 20 | <primary sortas="a-Perl">Perl</primary>
|
---|
| 21 | <secondary>tools</secondary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title/>
|
---|
| 26 |
|
---|
| 27 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[37e35d2] | 28 | href="../chapter08/perl.xml"
|
---|
[1fa2099] | 29 | xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
---|
| 30 |
|
---|
| 31 | <segmentedlist>
|
---|
| 32 | <segtitle>&buildtime;</segtitle>
|
---|
| 33 | <segtitle>&diskspace;</segtitle>
|
---|
| 34 |
|
---|
| 35 | <seglistitem>
|
---|
[37e35d2] | 36 | <seg>&perl-tmp-sbu;</seg>
|
---|
| 37 | <seg>&perl-tmp-du;</seg>
|
---|
[1fa2099] | 38 | </seglistitem>
|
---|
| 39 | </segmentedlist>
|
---|
| 40 |
|
---|
| 41 | </sect2>
|
---|
| 42 |
|
---|
| 43 | <sect2 role="installation">
|
---|
| 44 | <title>Installation of Perl</title>
|
---|
| 45 |
|
---|
| 46 | <para>Prepare Perl for compilation:</para>
|
---|
| 47 |
|
---|
[e9a3e8f] | 48 | <screen><userinput remap="configure">sh Configure -des \
|
---|
| 49 | -Dprefix=/usr \
|
---|
| 50 | -Dvendorprefix=/usr \
|
---|
[a1ad522] | 51 | -Dprivlib=/usr/lib/perl5/&perl-version-min;/core_perl \
|
---|
| 52 | -Darchlib=/usr/lib/perl5/&perl-version-min;/core_perl \
|
---|
| 53 | -Dsitelib=/usr/lib/perl5/&perl-version-min;/site_perl \
|
---|
| 54 | -Dsitearch=/usr/lib/perl5/&perl-version-min;/site_perl \
|
---|
| 55 | -Dvendorlib=/usr/lib/perl5/&perl-version-min;/vendor_perl \
|
---|
| 56 | -Dvendorarch=/usr/lib/perl5/&perl-version-min;/vendor_perl</userinput></screen>
|
---|
[1fa2099] | 57 |
|
---|
| 58 | <variablelist>
|
---|
[37e35d2] | 59 | <title>The meaning of the new Configure options:</title>
|
---|
[1fa2099] | 60 | <varlistentry>
|
---|
| 61 | <term><parameter>-des</parameter></term>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>This is a combination of three options: -d uses defaults for
|
---|
| 64 | all items; -e ensures completion of all tasks; -s silences
|
---|
| 65 | non-essential output.</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </varlistentry>
|
---|
| 68 |
|
---|
| 69 | </variablelist>
|
---|
| 70 |
|
---|
[37e35d2] | 71 | <para>Compile the package:</para>
|
---|
[1fa2099] | 72 |
|
---|
| 73 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 74 |
|
---|
[37e35d2] | 75 | <para>Install the package:</para>
|
---|
[1fa2099] | 76 |
|
---|
[37e35d2] | 77 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[1fa2099] | 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="content">
|
---|
| 82 | <title/>
|
---|
| 83 |
|
---|
[37e35d2] | 84 | <para>Details on this package are located in <xref linkend="contents-perl" role="."/></para>
|
---|
[1fa2099] | 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | </sect1>
|
---|