aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-12-15 10:23:03 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-12-15 10:23:03 -0600
commitc9aabf13a1e8e1fb57688a7dea2f2ca2f1a9e1ab (patch)
treec006fc8b8aa6529dfa728a08bd1b71063bf25e54 /chapter08
parenta1bc9df91fc142a0e4c7e5605e9e85388b1fed46 (diff)
Package updates and a minor fix.
Ensure a gawk hard link is updated in Chapter 8. Update to iana-etc-20221209. Update to vim-9.0.1060. Update to iproute2-6.1.0. Update to xz-5.4.0. Update to bash-5.2.15. Update to psmisc-23.6. Update to mpc-1.3.0. Update to python3-3.11.1. Update to procps-ng-4.0.2.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/bash.xml8
-rw-r--r--chapter08/gawk.xml14
-rw-r--r--chapter08/mpc.xml12
3 files changed, 29 insertions, 5 deletions
diff --git a/chapter08/bash.xml b/chapter08/bash.xml
index 4ea981d5b..60154f6fd 100644
--- a/chapter08/bash.xml
+++ b/chapter08/bash.xml
@@ -42,10 +42,10 @@
<para>Prepare Bash for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
- --docdir=/usr/share/doc/bash-&bash-version; \
- --without-bash-malloc \
- --with-installed-readline</userinput></screen>
+ <screen><userinput remap="configure">./configure --prefix=/usr \
+ --without-bash-malloc \
+ --with-installed-readline \
+ --docdir=/usr/share/doc/bash-&bash-version;</userinput></screen>
<variablelist>
<title>The meaning of the new configure option:</title>
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index 4c8ecc265..45a7444bf 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -58,7 +58,19 @@
<para>Install the package:</para>
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">make LN='ln -f' install</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the make environment variable:</title>
+
+ <varlistentry>
+ <term><envar>LN='ln -f'</envar></term>
+ <listitem>
+ <para>This variable ensures that the previous hard link installed
+ in <xref linkend='ch-tools-gawk'/> is updated here.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>If desired, install the documentation:</para>
diff --git a/chapter08/mpc.xml b/chapter08/mpc.xml
index ad46b7e43..5bcfd0292 100644
--- a/chapter08/mpc.xml
+++ b/chapter08/mpc.xml
@@ -42,6 +42,18 @@
<sect2 role="installation">
<title>Installation of MPC</title>
+ <para>First, make a fix identified upstream:</para>
+
+<screen><userinput remap="pre">sed -i '273{ h; d; }; 274,286 { H; d; }; 287 G' src/mpc.h</userinput></screen>
+
+ <note>
+ <para>This sed is a little complex and needs some explanation. It holds
+ the line 273 in a buffer, adds lines 274-286 to it. It then writes the
+ buffer out after line 287 is read. The result is that the line 287 is
+ moved upwards from an incorrect location to its correct location in an
+ #ifdef block.</para>
+ </note>
+
<para>Prepare MPC for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \