mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
3f0c882398
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
55 lines
1.4 KiB
XML
55 lines
1.4 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
%general-entities;
|
|
]>
|
|
<sect1 id="ch-system-perl" xreflabel="Perl" role="wrap">
|
|
<title>Perl-&perl-version;</title>
|
|
<?dbhtml filename="perl.html"?>
|
|
|
|
<indexterm zone="ch-system-perl"><primary sortas="a-Perl">Perl</primary></indexterm>
|
|
|
|
<sect2 role="package"><title/>
|
|
|
|
<segmentedlist>
|
|
<segtitle>&buildtime;</segtitle>
|
|
<segtitle>&diskspace;</segtitle>
|
|
<seglistitem><seg>2.9 SBU</seg><seg>143 MB</seg></seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Perl</title>
|
|
|
|
<para>Prepare Perl for compilation:</para>
|
|
|
|
<screen><userinput>./configure.gnu --prefix=/usr -Dpager="/bin/less -isR"</userinput></screen>
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
<para>Create a basic <filename>/etc/hosts</filename> file:</para>
|
|
|
|
<screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>
|
|
|
|
<para>Run the tests:</para>
|
|
|
|
<screen><userinput>make test</userinput></screen>
|
|
|
|
<para>Install the package:</para>
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 id="contents-perl" role="content"><title>Contents of Perl</title>
|
|
|
|
<para>See testing</para>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|