2003-05-02 19:20:20 +01:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of Perl</title>
|
|
|
|
|
2003-08-18 21:53:34 +01:00
|
|
|
<para>First adapt some hard-wired paths to the C library:</para>
|
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
|
2003-08-18 21:53:34 +01:00
|
|
|
|
|
|
|
<para>And make sure some static extensions get built:</para>
|
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>chmod u+w hints/linux.sh
|
|
|
|
echo 'static_ext="IO re Fcntl"' >> hints/linux.sh</userinput></screen>
|
2003-08-18 21:53:34 +01:00
|
|
|
|
|
|
|
<para>Now prepare Perl for compilation:</para>
|
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>./configure.gnu --prefix=/tools</userinput></screen>
|
2003-08-18 21:53:34 +01:00
|
|
|
|
|
|
|
<para>Compile only the required tools:</para>
|
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>make perl utilities</userinput></screen>
|
2003-08-18 21:53:34 +01:00
|
|
|
|
|
|
|
<para>Then copy these tools and their libraries:</para>
|
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>cp perl pod/pod2man /tools/bin
|
2003-09-02 23:03:51 +01:00
|
|
|
mkdir -p /tools/lib/perl5/5.8.0
|
2003-10-10 00:22:07 +01:00
|
|
|
cp -R lib/* /tools/lib/perl5/5.8.0</userinput></screen>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|