blob: 594d984267ba0e0a11cdf9f5530ae86aebd8929c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
<sect1 id="ch-system-perl" xreflabel="Perl">
<title>Installing Perl-&perl-version;</title>
<?dbhtml filename="perl.html" dir="chapter06"?>
<para>The Perl package contains the Practical Extraction and Report Language.</para>
<screen>&buildtime; &perl-time;
&diskspace; &perl-compsize;</screen>
<literallayout>Official download location for Perl (&perl-version;):
<ulink url="http://www.perl.com/"/></literallayout>
&aa-perl-dep;
<sect2><title> </title><para> </para></sect2>
<sect2>
<title>Installation of Perl</title>
<para>If you want full control over the way Perl is set up, you can run the
interactive <command>Configure</command> script and hand-pick the way this
package is built. If, however, you guess you can live with the (sensible)
defaults it auto-detects, then prepare Perl for compilation with:</para>
<screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
<para>The meaning of the configure option:</para>
<itemizedlist>
<listitem><para><userinput>-Dpager="/bin/less -isR"</userinput>: This corrects
an error in the perldoc code with the invocation of the less
program.</para></listitem>
</itemizedlist>
<para>Compile the package:</para>
<screen><userinput>make</userinput></screen>
<para>If you wish to run the test suite, you first have to create a basic
<filename>/etc/hosts</filename> file, which is needed by a couple of tests to
resolve the name <emphasis>localhost</emphasis>:</para>
<screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>
<para>Now run the tests, if you wish:</para>
<screen><userinput>make test</userinput></screen>
<para>And install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
&aa-perl-shortdesc;
&aa-perl-desc;
</sect1>
|