mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 19:32:03 +00:00
69a52c1270
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2672 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
30 lines
938 B
XML
30 lines
938 B
XML
<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-&perl-version;-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=/stage1</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 /stage1/bin
|
|
mkdir -p /stage1/lib/perl5/5.8.0
|
|
cp -R lib/* /stage1/lib/perl5/5.8.0</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|