aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-06-26 22:26:46 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-06-26 22:26:46 +0000
commit4e7b5fa9ee5815387832e68f78fc656ad4918dc8 (patch)
treea40de073723e3ab222677645b5a2873d94428ecc /chapter05
parent84a3d862158e50a79acc82df8ba553cf4650363e (diff)
Update perl, less, and glib.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9567 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/perl.xml43
1 files changed, 9 insertions, 34 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index 8fbad2e8d..f59a2f7f8 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -48,46 +48,21 @@
<screen><userinput remap="pre">patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
- <!-- <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+ <para>Prepare Perl for compilation:</para>
-<screen><userinput remap="pre">mv -v makedepend.SH{,.orig}
-sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput></screen> -->
+<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools</userinput></screen>
- <para>Prepare Perl for compilation (make sure to get the
- 'Data/Dumper Fcntl IO' part of the command correct&mdash;they are all
- letters):</para>
+ <para>Build the package:</para>
-<screen><userinput remap="configure">sh Configure -des -Dprefix=/tools \
- -Dstatic_ext='Data/Dumper Fcntl IO'</userinput></screen>
+<screen><userinput remap="make">make</userinput></screen>
- <variablelist>
- <title>The meaning of the configure options:</title>
+ <para>Although Perl comes with a test suite, it would be better to wait
+ until it is insalled in the next chapter.</para>
- <varlistentry>
- <term><parameter>-Dstatic_ext='Data/Dumper Fcntl IO'</parameter></term>
- <listitem>
- <para>This tells Perl to build the minimum set of static extensions
- needed for installing and testing the Coreutils and Glibc packages in the
- next chapter.</para>
- </listitem>
- </varlistentry>
+ <para>Only a few of the utilities and libraries, need to be installed at this
+ time:</para>
- </variablelist>
-
- <para>Only a few of the utilities contained in this package, and one of its
- libraries, need to be built:</para>
-
-<screen><userinput remap="make">make perl utilities ext/Errno/pm_to_blib</userinput></screen>
-
- <para>Although Perl comes with a test suite, it is not recommended to
- run it at this point. Only part of Perl was built and running
- <command>make test</command> now will cause the rest of Perl to be
- built as well, which is unnecessary at this point. The test suite can
- be run in the next chapter if desired.</para>
-
- <para>Install these tools and their libraries:</para>
-
-<screen><userinput remap="install">cp -v perl pod/pod2man /tools/bin
+<screen><userinput remap="install">cp -v perl cpan/podlators/pod2man /tools/bin
mkdir -pv /tools/lib/perl5/&perl-version;
cp -Rv lib/* /tools/lib/perl5/&perl-version;</userinput></screen>