diff options
author | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-10 17:41:36 +0000 |
---|---|---|
committer | Randy McMurchy <randy@linuxfromscratch.org> | 2008-10-10 17:41:36 +0000 |
commit | 59af1dcf3a02cb91ad4870e89de39ef2c9c52d1c (patch) | |
tree | 4aae04a38878babd313b181aa3faaad6a55814ff /chapter06/perl.xml | |
parent | a737f406112af44330ea5555684511b7d3886f3a (diff) |
Updated the Perl instructions, thanks to Greg Shafer for pointing out the issues - This change also required that the Zlib package is built right before the Perl package in Chapter 6
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8620 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/perl.xml')
-rw-r--r-- | chapter06/perl.xml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/chapter06/perl.xml b/chapter06/perl.xml index 10b8b480f..721809dbe 100644 --- a/chapter06/perl.xml +++ b/chapter06/perl.xml @@ -56,9 +56,21 @@ <screen><userinput remap="pre">patch -Np1 -i ../&perl-page-patch;</userinput></screen> + <!-- Confirmed that this is not required any longer <para>Fix an incompatibility with gcc-&gcc-version;:</para> <screen><userinput remap="pre">sed -i 's/command /command[ -]/' makedepend.SH</userinput></screen> + --> + + <para>This version of Perl now builds the Compress::Raw::Zlib module. By + default Perl will use an internal copy of the Zlib source for the build. + Issue the following command so that Perl will use the Zlib library + installed on the system:</para> + +<screen><userinput remap="pre">sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|" \ + -e "s|INCLUDE\s*= ./zlib-src|INCLUDE = /usr/include|" \ + -e "s|LIB\s*= ./zlib-src|LIB = /usr/lib|" \ + ext/Compress/Raw/Zlib/config.in</userinput></screen> <para>To have full control over the way Perl is set up, you can run the interactive <command>Configure</command> script and hand-pick the way this @@ -99,7 +111,7 @@ <para>To test the results (approximately 2.5 SBU), issue:</para> -<screen><userinput remap="test">make -k test || true</userinput></screen> +<screen><userinput remap="test">make test</userinput></screen> <para>Install the package:</para> |