diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-09-24 15:47:31 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-09-24 15:47:31 +0000 |
commit | ed393bac3dc82373e622ef72dd770dd84e80dbc3 (patch) | |
tree | acc740b7d173791a535ba79f43e9bc2f0dd57396 /chapter06 | |
parent | d42a56b7d7fab785bb8240af0ba06cec9fe014bc (diff) |
Upgrade to gawk-3.1.5
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6890 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/gawk.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index 2f361a9d6..6430c7a3f 100644 --- a/chapter06/gawk.xml +++ b/chapter06/gawk.xml @@ -30,10 +30,21 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem> <sect2 role="installation"> <title>Installation of Gawk</title> +<para>Patch Gawk to fix a bug which causes it to segfault when invoked on a +non-existent file:</para> + +<screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen> + <para>Prepare Gawk for compilation:</para> <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> +<para>The configure script doesn't detect some functionality correctly. The +following commands correct this problem:</para> + +<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h +echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> |