From 35fae1627c2c95666ea19ba9d6c6396f909f882f Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Mon, 11 Mar 2002 20:36:27 +0000 Subject: [PATCH] removed loadkeys configure in chapter 7 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1702 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 6 +++++- chapter05/gawk-inst.xml | 15 ++++++++++++++- chapter07/chapter07.xml | 1 - chapter07/loadkeys.xml | 31 ------------------------------- index.xml | 1 - 5 files changed, 19 insertions(+), 35 deletions(-) delete mode 100644 chapter07/loadkeys.xml diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f1782947b..2ada6ca3b 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -30,7 +30,11 @@ -March 10th, 2002 [gerard]: Chapter 06 - Bzip2: Before +March 11th, 2002 [gerard]: Chapter 05 - Gawk: Added +-Dre_max_failures=re_max_failures2 bug fix for glibc-2.1.x +systems. + +March 11th, 2002 [gerard]: Chapter 06 - Bzip2: Before installing, remove /usr/bin/bz*. The bzip2 installation doens't deal with existing files properly when making hard links, so we remove the files first. diff --git a/chapter05/gawk-inst.xml b/chapter05/gawk-inst.xml index 893f73d35..8d59f24a0 100644 --- a/chapter05/gawk-inst.xml +++ b/chapter05/gawk-inst.xml @@ -1,7 +1,20 @@ Installation of Gawk -Install Gawk by running the following commands: +When installing Gawk using glibc-2.1.x on your base system, +it may be necessary to use a fix to prevent a variable name conflict. The +following commands can be used in this case. Note that these commands +can also be used for other glibc versions so if you aren't sure, then +use the first version. + +export CPPFLAGS=-Dre_max_failures=re_max_failures2 && +./configure --prefix=$LFS/usr --disable-nls && +unset CPPFLAGS && +make LDFLAGS=-static && +make install + +If you are using a newer glibc version (2.2.x), you can use the +following commands to install Gawk: ./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && diff --git a/chapter07/chapter07.xml b/chapter07/chapter07.xml index 7d2b92367..f3a6b14d6 100644 --- a/chapter07/chapter07.xml +++ b/chapter07/chapter07.xml @@ -4,7 +4,6 @@ &c7-introduction; &c7-usage; -&c7-loadkeys; &c7-setclock; &c7-sysklogd; &c7-hostname; diff --git a/chapter07/loadkeys.xml b/chapter07/loadkeys.xml deleted file mode 100644 index d7edb7056..000000000 --- a/chapter07/loadkeys.xml +++ /dev/null @@ -1,31 +0,0 @@ - -Configuring the loadkeys script - - -You only need to use the loadkeys script if you don't have a -default 101 keys US keyboard layout. - -The /etc/sysconfig/keyboard file contains the information the -loadkeys script needs to operate. This file contains the LAYOUT variable -which tells loadkeys what keymap to load that corresponds with your -keyboard. - -Create a new file /etc/sysconfig/keyboard -by running the following: - -cat > /etc/sysconfig/keyboard << "EOF" -# Begin /etc/sysconfig/keyboard - -LAYOUT=<path-to-keymap> - -# End /etc/sysconfig/keyboard -EOF - -Replace <path-to-keymap> with the -path to the keymap you have selected. For example, if you have chosen the -US keymap, you would replace it with -/usr/share/kbd/keymaps/i386/qwerty/us.map.gz - - - diff --git a/index.xml b/index.xml index d64bbec68..23c0d29cf 100644 --- a/index.xml +++ b/index.xml @@ -338,7 +338,6 @@ -