aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/perl.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/perl.xml')
-rw-r--r--chapter06/perl.xml14
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>