mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 05:27:39 +00:00
17700191e9
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4603 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
44 lines
1.2 KiB
XML
44 lines
1.2 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
%general-entities;
|
|
]>
|
|
<sect1 id="ch-tools-perl" role="wrap">
|
|
<title>Perl-&perl-version;</title>
|
|
<?dbhtml filename="perl.html"?>
|
|
|
|
<sect2 role="package"><title/>
|
|
|
|
<segmentedlist>
|
|
<segtitle>&buildtime;</segtitle>
|
|
<segtitle>&diskspace;</segtitle>
|
|
<seglistitem><seg>0.8 SBU</seg><seg>74 MB</seg></seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Perl</title>
|
|
|
|
<para>First adapt some hard-wired paths to the C library:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen>
|
|
|
|
<para>Now prepare Perl for compilation:</para>
|
|
|
|
<screen><userinput>./configure.gnu --prefix=/tools -Dstatic_ext='IO Fcntl POSIX'</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>
|
|
|
|
</sect1>
|