aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-08-03 19:29:29 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-08-03 19:29:29 +0000
commitc226182dc5ff37f733c895ab16483ebd37c02bcc (patch)
tree82a9abff83df5aa35fec4fd1539091cfb7920ef2 /chapter06
parenta15464dfe656aec48ced77b2ded760f0cc639ad7 (diff)
Ported updates from 6.2 branch.
Small tags fixes. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7758 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/db.xml4
-rw-r--r--chapter06/e2fsprogs.xml7
-rw-r--r--chapter06/glibc.xml16
-rw-r--r--chapter06/grub.xml4
-rw-r--r--chapter06/kernfs.xml2
-rw-r--r--chapter06/linux-libc-headers.xml5
-rw-r--r--chapter06/udev.xml3
-rw-r--r--chapter06/vim.xml22
8 files changed, 55 insertions, 8 deletions
diff --git a/chapter06/db.xml b/chapter06/db.xml
index 367f85e65..e0a0cbfc1 100644
--- a/chapter06/db.xml
+++ b/chapter06/db.xml
@@ -55,6 +55,10 @@
<sect2 role="installation">
<title>Installation of Berkeley DB</title>
+ <para>Patch the package to eliminate potential trap events:</para>
+
+<screen><userinput>patch -Np1 -i ../&db-fixes-patch;</userinput></screen>
+
<para>Prepare Berkeley DB for compilation:</para>
<screen><userinput>cd build_unix &amp;&amp;
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 7d27eefb5..ed8beb67e 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -94,6 +94,13 @@ cd build</userinput></screen>
<para>To test the results, issue:
<userinput>make check</userinput>.</para>
+ <para>One of the E2fsprogs tests will attempt to allocate 256 MB
+ of memory. If you do not have significantly more RAM than this, it
+ is recommended to enable sufficient swap space for the test. See
+ <xref linkend="space-creatingfilesystem"/> and
+ <xref linkend="space-mounting"/> for details on creating and enabling
+ swap space.</para>
+
<para>Install the binaries and documentation:</para>
<screen><userinput>make install</userinput></screen>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index eb6d8d080..0e010f9fd 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -57,8 +57,8 @@
<para>The glibc-libidn tarball adds support for internationalized domain
names (IDN) to Glibc. Many programs that support IDN require the full
- <filename class="libraryfile">libidn</filename> library (see
- <ulink url="&blfs-root;view/svn/general/libidn.html"/>), not this add-on.
+ <filename class="libraryfile">libidn</filename> library, not this add-on (see
+ <ulink url="&blfs-root;view/svn/general/libidn.html"/>).
Unpack the tarball from within the Glibc source directory:</para>
<screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>
@@ -69,6 +69,11 @@
<screen><userinput>patch -Np1 -i ../&glibc-linux_types-patch;</userinput></screen>
+ <para>Add a header to define syscall functions for the inotify feature
+ available in newer Linux kernels:</para>
+
+<screen><userinput>patch -Np1 -i ../&glibc-inotify-patch;</userinput></screen>
+
<para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop
at startup. It is unknown whether this is a <command>bash</command> bug or a
Glibc problem. Disable installation of this locale in order to avoid the
@@ -167,9 +172,14 @@ grep Error glibc-check-log</userinput></screen>
<screen><userinput>make install</userinput></screen>
+ <para>Install the inotify header to the system header location:</para>
+
+<screen><userinput>cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \
+ /usr/include/sys</userinput></screen>
+
<para>The locales that can make the system respond in a different language
were not installed by the above command. None of the locales are required,
- but, if some of them are misssing, testuites of the future packages would
+ but if some of them are missing, testsuites of the future packages would
skip important testcases.</para>
<para>Individual locales can be installed using the
diff --git a/chapter06/grub.xml b/chapter06/grub.xml
index 8570a6ac2..2750c5442 100644
--- a/chapter06/grub.xml
+++ b/chapter06/grub.xml
@@ -42,8 +42,8 @@
unset them when building GRUB.</para>
<para>Start by applying the following patch to allow for better drive
- detection, fix some <application>GCC 4.x</application> issues, and provide
- better SATA support for some disk controllers:</para>
+ detection, fix some GCC 4.x issues, and provide better SATA support
+ for some disk controllers:</para>
<screen><userinput>patch -Np1 -i ../&grub-geometry-patch;</userinput></screen>
diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml
index 034d60422..1570de4be 100644
--- a/chapter06/kernfs.xml
+++ b/chapter06/kernfs.xml
@@ -62,7 +62,7 @@ mknod -m 666 $LFS/dev/null c 1 3</userinput></screen>
<screen><userinput>mount --bind /dev $LFS/dev</userinput></screen>
</sect2>
-
+
<sect2 id="ch-system-kernfsmount">
<title>Mounting Virtual Kernel File Systems</title>
diff --git a/chapter06/linux-libc-headers.xml b/chapter06/linux-libc-headers.xml
index 9496c0b99..e1fed38f6 100644
--- a/chapter06/linux-libc-headers.xml
+++ b/chapter06/linux-libc-headers.xml
@@ -43,6 +43,11 @@
which was designed to maintain an API stable version of the Linux
headers.</para>
+ <para>Add a userspace header and syscall support for the inotify feature
+ available in newer Linux kernels:</para>
+
+<screen><userinput>patch -Np1 -i ../&linux-inotify-patch;</userinput></screen>
+
<para>Install the header files:</para>
<screen><userinput>install -dv /usr/include/asm
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 516133d31..f73da536d 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -73,6 +73,9 @@ ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
<para>To test the results, issue:
<userinput>make test</userinput>.</para>
+ <para>Note that the Udev testsuite will produce numerous messages in
+ the host system's logs. These are harmless and can be ignored.</para>
+
<para>Install the package:</para>
<screen><userinput>make DESTDIR=/ \
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 4d67ad037..c8b613b6a 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -59,6 +59,12 @@
<screen><userinput>patch -Np1 -i ../&vim-mandir-patch;</userinput></screen>
+ <para>There is an issue introduced by one of the upstream patches that
+ creates a problem downloading spellfiles via HTTP. Until this is updated
+ by the developers, the following patch fixes the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../&vim-spellfile-patch;</userinput></screen>
+
<para>Finally, change the default location of the
<filename>vimrc</filename> configuration file to <filename
class="directory">/etc</filename>:</para>
@@ -188,8 +194,20 @@ EOF</userinput></screen>
<note>
<para>By default, Vim only installs spell files for the English language.
- To install spell files for your preferred language, please read the README
- file located here: <ulink url="ftp://ftp.vim.org/pub/vim/runtime/spell/" /></para>
+ To install spell files for your preferred language, download the
+ <filename>*.spl</filename> and optionally, the <filename>*.sug</filename>
+ files for your language and character encoding from <ulink
+ url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and and save them to
+ <filename class='directory'>/usr/share/vim/vim70/spell/</filename>.</para>
+
+ <para>To use these spell files, some configuration in
+ <filename>/etc/vimrc</filename> is needed, e.g.:</para>
+
+<screen><literal>set spelllang=en,ru
+set spell</literal></screen>
+
+ <para>For more information, see the appropriate README file located
+ at the the URL above.</para>
</note>
</sect2>