diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/binutils.xml | 5 | ||||
-rw-r--r-- | chapter08/eudev.xml | 12 | ||||
-rw-r--r-- | chapter08/gawk.xml | 4 | ||||
-rw-r--r-- | chapter08/grep.xml | 7 |
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> |