diff options
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/bash.xml | 8 | ||||
-rw-r--r-- | chapter08/gawk.xml | 14 | ||||
-rw-r--r-- | chapter08/mpc.xml | 12 |
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 \ |