2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch06-perl">
|
2001-07-23 19:23:43 +01:00
|
|
|
<title>Installing Perl-&perl-version;</title>
|
2001-09-26 01:24:04 +01:00
|
|
|
<?dbhtml filename="perl.html" dir="chapter06"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<screen>Estimated build time: &perl-time;
|
2001-08-10 21:29:04 +01:00
|
|
|
Estimated required disk space: &perl-compsize;</screen>
|
2001-07-17 19:51:18 +01:00
|
|
|
|
2003-01-15 21:41:38 +00:00
|
|
|
&aa-perl-shortdesc;
|
2003-11-15 16:07:18 +00:00
|
|
|
&aa-perl-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Perl</title>
|
|
|
|
|
|
|
|
<para>Prepare Perl for compilation:</para>
|
|
|
|
|
2003-11-17 08:32:34 +00:00
|
|
|
<screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>If you want more control over the way Perl sets itself up to be
|
|
|
|
built, you can run the interactive <userinput>Configure</userinput> script
|
|
|
|
instead and modify the way Perl is built. If you think you can live with the
|
|
|
|
(sensible) defaults Perl auto-detects, then just use the command listed
|
|
|
|
above.</para>
|
|
|
|
|
2003-11-20 00:45:59 +00:00
|
|
|
<para>The meaning of the configure option:</para>
|
2003-11-18 03:02:35 +00:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><userinput>-Dpager="/bin/less -isR"</userinput>: This corrects
|
2003-11-20 00:45:59 +00:00
|
|
|
an error in the perldoc code with the invocation of the less
|
|
|
|
program.</para></listitem>
|
2003-11-18 03:02:35 +00:00
|
|
|
</itemizedlist>
|
2003-11-17 08:32:34 +00:00
|
|
|
|
2003-11-01 22:31:50 +00:00
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package has a test suite available which can perform a number of
|
|
|
|
checks to ensure it built correctly. Should you choose to run it, you first
|
|
|
|
have to create a basic <filename>/etc/hosts</filename> file, 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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|