Errata for the 6.2 Version of the LFS Book
Miscellaneous Errata
A new version of Shadow has been released, changing the location of the tarball used in LFS-6.2. The 4.0.15 version can be downloaded from ftp://ftp.pld.org.pl/software/shadow/old/.
Glibc-2.3.6 expects that /bin/sh is `bash' and uses some `bash' specific syntax in the Makefiles. On some hosts, such as Ubuntu, this is not the case and the Chapter 5 glibc build can fail. To work around the problem, add SHELL=/bin/bash to all the `make' commands. For instance, `make install' would become `make install SHELL=/bin/bash'. This is not a problem in Chapter 6 where /bin/sh is `bash'.
Bison is missing from the Host Requirements. This is needed for Bash in section 5.14. Version 1.875 is the minimum required version of Bison.
The first pass of Binutils may fail to build with /bin/ld: unrecognized option '--hash-style=both' on newer hosts (e.g. Fedora Core 6). This can be fixed by changing the Binutils configure command to CC="gcc -B/usr/bin/" ../binutils-2.16.1/configure [configure parameters] and, similarly, the GCC pass 1 configure command to CC="gcc -B/usr/bin/" ../gcc-3.4.3/configure [configure parameters]
In section 7.6 Configuring the Linux Console, it is suggested to look in the /usr/share/kbd directory for valid fonts and keymaps. The directory should be /lib/kbd as configured in the kbd package in section 6.42.