aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-09-14 21:58:07 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-09-14 21:58:07 -0500
commitb17680d8ea3c91a0107a52a182ab5465749c0f5b (patch)
tree08132ac66481b6e679523d0173fd832411f40094 /chapter08
parente4c659759388c22d82a85b1ca84d3332b94b7fbd (diff)
Package updates and corrections.
Update to file-5.43. Update to linux-5.19.8. Update to gawk-5.2.0. Update to meson-0.63.2. Update to ninja-1.11.1. Update to bc-6.0.2. Fix the location of udev rules in eudev. Remove a warning for egrep and fgrep that Delete an empty binutils man page.
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/binutils.xml5
-rw-r--r--chapter08/eudev.xml12
-rw-r--r--chapter08/gawk.xml4
-rw-r--r--chapter08/grep.xml7
4 files changed, 18 insertions, 10 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index 96b820277..78de16f9c 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -174,9 +174,10 @@ cd build</userinput></screen>
<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
- <para>Remove useless static libraries:</para>
+ <para>Remove useless static libraries and an emptmy man page:</para>
-<screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a</userinput></screen>
+<screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a
+rm -fv /usr/share/man/man1/gprofng.1</userinput></screen>
</sect2>
diff --git a/chapter08/eudev.xml b/chapter08/eudev.xml
index efaba9d30..0cce469e1 100644
--- a/chapter08/eudev.xml
+++ b/chapter08/eudev.xml
@@ -39,16 +39,12 @@
<sect2 role="installation">
<title>Installation of Eudev</title>
-<!--
- <para>First, fix a test script:</para>
-<screen><userinput remap="pre">sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl</userinput></screen>
--->
-<!--
- <para>Next, remove an unneeded line that causes a build failure:</para>
+
-<screen><userinput remap="pre">sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c</userinput></screen>
--->
+ <para>First fix the location of udev rules in the .pc file:</para>
+
+<screen><userinput remap="pre">sed -i '/udevdir/a udev_dir=${udevdir}' src/udev/udev.pc.in</userinput></screen>
<para>Prepare Eudev for compilation:</para>
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index 4c8ecc265..244d7004f 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -44,6 +44,10 @@
<screen><userinput remap="pre">sed -i 's/extras//' Makefile.in</userinput></screen>
+ <para>Now fix a programming error identified upstream:</para>
+
+<screen><userinput remap="pre">sed -i -i '241i UPREF(m);' interpret.h</userinput></screen>
+
<para>Prepare Gawk for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
diff --git a/chapter08/grep.xml b/chapter08/grep.xml
index 33b0896c2..25d598dfe 100644
--- a/chapter08/grep.xml
+++ b/chapter08/grep.xml
@@ -40,6 +40,13 @@
<sect2 role="installation">
<title>Installation of Grep</title>
+ <para>
+ First, remove a warning about using egrep and fgrep that makes
+ tests on some packages fail:
+ </para>
+
+<screen><userinput remap="pre">sed -i "s/echo/#echo/" src/egrep.sh</userinput></screen>
+
<para>Prepare Grep for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>