From fa21b3dc894b9964620968dfae6685d69ce89fb9 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Fri, 6 Jan 2006 01:59:08 +0000 Subject: Initial support of UTF-8. Thanks Alexander Patrakov. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7245 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/gawk.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'chapter06/gawk.xml') diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index 41df7f965..710ef57ef 100644 --- a/chapter06/gawk.xml +++ b/chapter06/gawk.xml @@ -28,8 +28,8 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed Installation of Gawk -Patch Gawk to fix a bug which causes it to segfault when invoked on a -non-existent file: +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: patch -Np1 -i ../&gawk-segfault-patch; @@ -37,11 +37,15 @@ non-existent file: ./configure --prefix=/usr --libexecdir=/usr/lib -The configure script doesn't detect some functionality correctly. The -following commands correct this problem: +Due to a bug in the configure 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 config.h: -echo "#define HAVE_LANGINFO_CODESET 1" >> config.h -echo "#define HAVE_LC_MESSAGES 1" >> config.h +cat >>config.h <<"EOF" +#define HAVE_LANGINFO_CODESET 1 +#define HAVE_LC_MESSAGES 1 +EOF Compile the package: -- cgit v1.2.3-54-g00ecf