2003-05-02 19:20:20 +01:00
|
|
|
<sect1 id="ch05-perl">
|
|
|
|
<title>Installing Perl-&perl-version;</title>
|
|
|
|
<?dbhtml filename="perl.html" dir="chapter05"?>
|
|
|
|
|
2003-10-14 21:31:24 +01:00
|
|
|
<screen>Estimated build time: &perl-time-tools;
|
|
|
|
Estimated required disk space: &perl-compsize-tools;</screen>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
|
|
|
&aa-perl-shortdesc;
|
|
|
|
&aa-perl-dep;
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<para>And make sure some static extensions get built:</para>
|
|
|
|
|
|
|
|
<screen><userinput>chmod u+w hints/linux.sh
|
|
|
|
echo 'static_ext="IO re Fcntl"' >> hints/linux.sh</userinput></screen>
|
|
|
|
|
|
|
|
<para>Now prepare Perl for compilation:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure.gnu --prefix=/tools</userinput></screen>
|
|
|
|
|
|
|
|
<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
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|