2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2006-01-22 12:20:02 +00:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect1 id="ch-tools-perl" role="wrap">
|
2006-01-22 12:20:02 +00:00
|
|
|
<?dbhtml filename="perl.html"?>
|
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>perl</productname>
|
|
|
|
<productnumber>&perl-version;</productnumber>
|
|
|
|
<address>&perl-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
<title>Perl-&perl-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="ch-tools-perl">
|
|
|
|
<primary sortas="a-Perl">Perl</primary>
|
|
|
|
<secondary>tools</secondary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2010-04-21 21:16:28 +01:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-01-22 12:20:02 +00:00
|
|
|
href="../chapter06/perl.xml"
|
|
|
|
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
<seglistitem>
|
2006-05-14 21:16:56 +01:00
|
|
|
<seg>&perl-ch5-sbu;</seg>
|
|
|
|
<seg>&perl-ch5-du;</seg>
|
2006-01-22 12:20:02 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
</sect2>
|
2003-11-14 02:15:57 +00:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Perl</title>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2009-08-26 20:03:11 +01:00
|
|
|
<para>First apply the following patch to adapt some hard-wired paths to the
|
|
|
|
C library:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2009-08-26 20:03:11 +01:00
|
|
|
<screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
|
2004-02-04 22:22:49 +00:00
|
|
|
|
2011-06-26 23:26:46 +01:00
|
|
|
<para>Prepare Perl for compilation:</para>
|
2007-09-15 21:45:13 +01:00
|
|
|
|
2011-06-26 23:26:46 +01:00
|
|
|
<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools</userinput></screen>
|
2007-09-15 21:45:13 +01:00
|
|
|
|
2011-06-26 23:26:46 +01:00
|
|
|
<para>Build the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2012-06-04 22:37:32 +01:00
|
|
|
<screen><userinput remap="make">make</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2011-06-26 23:26:46 +01:00
|
|
|
<para>Although Perl comes with a test suite, it would be better to wait
|
2012-09-14 16:38:08 +01:00
|
|
|
until it is installed in the next chapter.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2011-06-26 23:26:46 +01:00
|
|
|
<para>Only a few of the utilities and libraries, need to be installed at this
|
|
|
|
time:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2011-06-26 23:26:46 +01:00
|
|
|
<screen><userinput remap="install">cp -v perl cpan/podlators/pod2man /tools/bin
|
2005-09-29 21:55:40 +01:00
|
|
|
mkdir -pv /tools/lib/perl5/&perl-version;
|
|
|
|
cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
</sect2>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
<sect2 role="content">
|
|
|
|
<title/>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
<para>Details on this package are located in
|
|
|
|
<xref linkend="contents-perl" role="."/></para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-22 12:20:02 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|