aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/perl.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-05-03 21:02:51 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-05-03 21:02:51 +0000
commitefcb3933433838b71f3a4a53ec1ac6d899aaec0b (patch)
treef0b1fb24d5ac7ebb93cc2deddefbc16938ea49d0 /chapter05/perl.xml
parent9d719e24c33f9a2ecf8a5582cd811c43a8fa46c2 (diff)
Make the new book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/perl.xml')
-rw-r--r--chapter05/perl.xml30
1 files changed, 3 insertions, 27 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index 2bb15453b..663d3dbc2 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -45,11 +45,10 @@
<para>Prepare Perl for compilation:</para>
-<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools -Dlibs=-lm -Uloclibpth -Ulocincpth</userinput></screen>
+<screen><userinput remap="configure">sh Configure -des -Dprefix=/usr</userinput></screen>
<variablelist>
- <title>The meaning of the Configure options:</title>
-
+ <title>The meaning of the new Configure options:</title>
<varlistentry>
<term><parameter>-des</parameter></term>
<listitem>
@@ -59,36 +58,13 @@
</listitem>
</varlistentry>
- <varlistentry>
- <term>
- <parameter>-Uloclibpth</parameter> and
- <parameter>-Ulocincpth</parameter>
- </term>
- <listitem>
- <para>These entries undefine variables that cause the configuration
- to search for locally installed components that may exist on the
- host system.</para>
- </listitem>
- </varlistentry>
-
</variablelist>
-
-
-
<para>Build the package:</para>
<screen><userinput remap="make">make</userinput></screen>
- <para>Although Perl comes with a test suite, it would be better to wait
- until it is installed in the next chapter.</para>
-
- <para>Only a few of the utilities and libraries need to be installed at this
- time:</para>
-
-<screen><userinput remap="install">cp -v perl cpan/podlators/scripts/pod2man /tools/bin
-mkdir -pv /tools/lib/perl5/&perl-version;
-cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
</sect2>