blob: 297fe7aeffe534861fdbc42fdfefc04fdc53e915 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<sect2><title> </title><para> </para></sect2>
<sect2>
<title>Installation of Perl</title>
<para>First adapt some hard-wired paths to the C library:</para>
<para><screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen></para>
<para>And make sure some static extensions get built:</para>
<para><screen><userinput>chmod u+w hints/linux.sh
echo 'static_ext="IO re Fcntl"' >> hints/linux.sh</userinput></screen></para>
<para>Now prepare Perl for compilation:</para>
<para><screen><userinput>./configure.gnu --prefix=/tools</userinput></screen></para>
<para>Compile only the required tools:</para>
<para><screen><userinput>make perl utilities</userinput></screen></para>
<para>Then copy these tools and their libraries:</para>
<para><screen><userinput>cp perl pod/pod2man /tools/bin
mkdir -p /tools/lib/perl5/5.8.0
cp -R lib/* /tools/lib/perl5/5.8.0</userinput></screen></para>
</sect2>
|