aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/libelf.xml11
-rw-r--r--chapter06/perl.xml6
2 files changed, 6 insertions, 11 deletions
diff --git a/chapter06/libelf.xml b/chapter06/libelf.xml
index 9d1c3b1c6..de9cac192 100644
--- a/chapter06/libelf.xml
+++ b/chapter06/libelf.xml
@@ -44,13 +44,6 @@
<para>Libelf is part of elfutils-&elfutils-version; package. Use
the elfutils-&elfutils-version;.tar.xz as the source tarball.</para>
- <para>First, fix a file to be compatible with gcc-8"</para>
-
-<screen><userinput remap="pre">sed -e '/ALIGN_PRSTATUS)/{
- s/__attribute/attribute_packed &amp;/
- s/packed, //}' \
- -i backends/linux-core-note.c</userinput></screen>
-
<para>Prepare Libelf for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
@@ -59,7 +52,9 @@
<screen><userinput remap="make">make</userinput></screen>
- <para>To test the results, issue <command>make check</command>.</para>
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make check</userinput></screen>
<para>Install only Libelf:</para>
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index f48ce59d4..d712fc2b7 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -123,12 +123,12 @@ export BUILD_BZIP2=0</userinput></screen>
<screen><userinput remap="make">make</userinput></screen>
- <para>To test the results (approximately 2.5 SBU), issue:</para>
+ <para>To test the results (approximately 11 SBU), issue:</para>
<screen><userinput remap="test">make -k test</userinput></screen>
- <note><para>Several tests related to zlib will fail due to using
- the system version of zlib instead of the internal version.</para></note>
+ <note><para>One test fails due to using the most recent version of gdbm.
+ </para></note>
<para>Install the package and clean up:</para>