diff options
author | Archaic <archaic@linuxfromscratch.org> | 2005-12-26 19:00:06 +0000 |
---|---|---|
committer | Archaic <archaic@linuxfromscratch.org> | 2005-12-26 19:00:06 +0000 |
commit | 5536f7440f2f4a12782e8d741cbbba5f1c3cfea8 (patch) | |
tree | a0f3a22ecc9c0eedfd891d54e9acf06502d2b07f /chapter06/gawk.xml | |
parent | 2550494b85359ff42bb95a72911c7751cbce14d4 (diff) |
Applied Alexander Patrakov's patch which adds UTF-8 capability to the
development branch of the LFS Book.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7235 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gawk.xml')
-rw-r--r-- | chapter06/gawk.xml | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index 41df7f965..d25196e41 100644 --- a/chapter06/gawk.xml +++ b/chapter06/gawk.xml @@ -28,8 +28,8 @@ 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> +<para>Under some circumstances, Gawk-&gawk-version; attempts to free a chunk +of memory that was not allocated. This bug is fixed by the following patch:</para> <screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen> @@ -37,11 +37,15 @@ non-existent file:</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> +<para>Due to a bug in the <command>./configure</command> script, Gawk fails +to detect certain aspects of locale support in glibc. This +bug leads to, e.g., Gettext testsuite failures. Work around this issue +by appending the missing macro definitions to <filename>config.h</filename>:</para> -<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h -echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen> +<screen><userinput>cat >>config.h <<"EOF" +<literal>#define HAVE_LANGINFO_CODESET 1 +#define HAVE_LC_MESSAGES 1</literal> +EOF</userinput></screen> <para>Compile the package:</para> |