2003-05-02 19:20:20 +01:00
|
|
|
<sect1 id="ch05-perl">
|
|
|
|
<title>Installing Perl-&perl-version;</title>
|
|
|
|
<?dbhtml filename="perl.html" dir="chapter05"?>
|
|
|
|
|
2004-01-27 22:27:44 +00:00
|
|
|
<screen>&buildtime; &perl-time-tools;
|
|
|
|
&diskspace; &perl-compsize-tools;</screen>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
&aa-perl-down;
|
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>
|
2003-11-14 02:15:57 +00:00
|
|
|
|
2003-11-01 22:31:50 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Perl</title>
|
|
|
|
|
|
|
|
<para>First adapt some hard-wired paths to the C library:</para>
|
|
|
|
|
|
|
|
<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
|
|
|
|
|
2003-11-14 02:15:57 +00:00
|
|
|
<para>Now prepare Perl for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2003-11-14 02:15:57 +00:00
|
|
|
<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl'</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2003-11-14 02:15:57 +00:00
|
|
|
<para>The meaning of the configure option:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2003-11-14 02:15:57 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para><userinput>-Dstatic_ext='IO Fcntl'</userinput>: This tells
|
|
|
|
Perl to build the minimum set of static extensions needed for running the
|
|
|
|
Coreutils test suite in the next chapter.</para></listitem>
|
|
|
|
</itemizedlist>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Compile only the required tools:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make perl utilities</userinput></screen>
|
|
|
|
|
|
|
|
<para>Then copy these tools and their libraries:</para>
|
|
|
|
|
|
|
|
<screen><userinput>cp perl pod/pod2man /tools/bin
|
|
|
|
mkdir -p /tools/lib/perl5/&perl-version;
|
|
|
|
cp -R lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-01-12 23:23:50 +00:00
|
|
|
<sect2><title> </title><para> </para>
|
|
|
|
<para>The details on this package are found in <xref linkend="contents-perl"/>.</para>
|
|
|
|
<para> </para></sect2>
|
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect1>
|
|
|
|
|