diff options
46 files changed, 218 insertions, 170 deletions
diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml index 9f3086f6e..de0f8160f 100644 --- a/chapter06/autoconf-inst.xml +++ b/chapter06/autoconf-inst.xml @@ -2,17 +2,19 @@ <sect2> <title>Installation of Autoconf</title> -<para>Prepare Autoconf to be compiled:</para> +<para>Prepare Autoconf for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml index b0c8c5ba4..deb241e12 100644 --- a/chapter06/automake-inst.xml +++ b/chapter06/automake-inst.xml @@ -3,21 +3,23 @@ <sect2> <title>Installation of Automake</title> -<para>Prepare Automake to be compiled:</para> +<para>Prepare Automake for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>Install the package:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Create a necessary symbolic link:</para> +<para>And create a necessary symbolic link:</para> <para><screen><userinput>ln -s automake-1.7 /usr/share/automake</userinput></screen></para> diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml index fc9586b2d..de9869e35 100644 --- a/chapter06/bash-inst.xml +++ b/chapter06/bash-inst.xml @@ -14,21 +14,23 @@ patch:</para> <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para> -<para>Prepare Bash to be compiled:</para> +<para>Prepare Bash for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make tests</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>Install the package:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Reload the newly compiled Bash:</para> +<para>And reload the newly compiled <userinput>bash</userinput> program:</para> <para><screen><userinput>exec /bin/bash --login set +h</userinput></screen></para> diff --git a/chapter06/bin86-inst.xml b/chapter06/bin86-inst.xml index 5e743aacf..ee2fb4c3a 100644 --- a/chapter06/bin86-inst.xml +++ b/chapter06/bin86-inst.xml @@ -18,7 +18,7 @@ you decide to skip this.</para> <para><screen><userinput>make</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make PREFIX=/usr install</userinput></screen></para> diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index 1d2aafd16..ee4212fd4 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -31,7 +31,7 @@ build for our own system, we don't need this target specific directory in cross-compile (for example compiling a package on an Intel machine that generates code that can be executed on PowerPC machines).</para> -<para>Check the results:</para> +<para>Test the results:</para> <para><screen><userinput>make check</userinput></screen></para> diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml index c346a6270..84d239880 100644 --- a/chapter06/bison-inst.xml +++ b/chapter06/bison-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Bison</title> -<para>Prepare Bison to be compiled:</para> +<para>Prepare Bison for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index cabfc4c63..2679231a4 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -3,28 +3,28 @@ <sect2> <title>Installation of Bzip2</title> -<para>Begin compiling the package:</para> +<para>Prepare Bzip2 for compilation with:</para> <para><screen><userinput>make -f Makefile-libbz2_so make clean</userinput></screen></para> -<para>The <emphasis>-f</emphasis> flag will cause bzip2 to be built +<para>The <emphasis>-f</emphasis> flag will cause Bzip2 to be built using a different <filename>Makefile</filename> file, in this case the <filename>Makefile-libbz2_so</filename> file, which creates a dynamic <filename>libbz2.so</filename> library and links the bzip2 utilities against it.</para> -<para>Continue compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Install the package:</para> +<para>Install it:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Copy the Bzip2 binary into the <filename -class="directory">/bin</filename> directory, make some -necessary symbolic links and clean up.</para> +<para>And install the shared <userinput>bzip2</userinput> binary into the +<filename class="directory">/bin</filename> directory, then make some +necessary symbolic links, and clean up.</para> <para><screen><userinput>cp bzip2-shared /bin/bzip2 cp -a libbz2.so* /lib diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml index 8c15eb873..cd97b33b0 100644 --- a/chapter06/coreutils-inst.xml +++ b/chapter06/coreutils-inst.xml @@ -9,20 +9,22 @@ for Intel architectures:</para> <para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-uname-patch-version;.patch</userinput></screen></para> -<para>We do not want Coreutils to install it's version of the hostname -binary, because it is inferior to the version provided by Net-tools. -Prevent the installation of hostname with this patch:</para> +<para>We do not want Coreutils to install its version of the +<userinput>hostname</userinput> program, because it is inferior to the version +provided by Net-tools. Prevent its installation by applying a patch:</para> <para><screen><userinput>patch -Np1 -i ../coreutils-&coreutils-hostname-patch-version;.patch</userinput></screen></para> -<para>Prepare Coreutils to be compiled:</para> +<para>Now prepare Coreutils for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results thoroughly:</para> + <para><screen><userinput>make check-root make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para> @@ -30,7 +32,7 @@ make RUN_EXPENSIVE_TESTS=yes check</userinput></screen></para> <para><screen><userinput>make install</userinput></screen></para> -<para>Move files to their proper locations:</para> +<para>And move some programs to their proper locations:</para> <para><screen><userinput>mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml index 2f655113d..2440cecd4 100644 --- a/chapter06/diffutils-inst.xml +++ b/chapter06/diffutils-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Diffutils</title> -<para>Prepare Diffutils to be compiled:</para> +<para>Prepare Diffutils for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml index 7a77606d6..557af685e 100644 --- a/chapter06/e2fsprogs-inst.xml +++ b/chapter06/e2fsprogs-inst.xml @@ -9,7 +9,7 @@ source tree:</para> <para><screen><userinput>mkdir ../e2fsprogs-build cd ../e2fsprogs-build</userinput></screen></para> -<para>Prepare E2fsprogs to be compiled:</para> +<para>Prepare E2fsprogs for compilation:</para> <para><screen><userinput>../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \ --enable-elf-shlibs</userinput></screen></para> @@ -34,17 +34,19 @@ of.</para></listitem> </itemizedlist> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Begin installing the package:</para> +<para>Install most of the package:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Install the shared libraries:</para> +<para>And install also the shared libraries:</para> <para><screen><userinput>make install-libs</userinput></screen></para> diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml index b34122bb2..ee6805bf3 100644 --- a/chapter06/ed-inst.xml +++ b/chapter06/ed-inst.xml @@ -8,36 +8,38 @@ because it can be used by the patch program if you encounter an ed-based patch file. This happens rarely because diff-based patches are preferred these days.</para></note> -<para>Ed uses mktemp to create temporary files in <filename -class="directory">/tmp</filename>, but this function has a security -vulnerability (see section on Temporary Files in <ulink -url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). This -patch makes Ed use mkstemp instead, which is the recommended way to create -temporary files.</para> +<para>Ed normally uses the mktemp function to create temporary files in +<filename class="directory">/tmp</filename>, but this function contains a +vulnerability (see the section on Temporary Files in <ulink +url="http://en.tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html"/>). The +following patch makes Ed use mkstemp instead, which is the recommended way to +create temporary files.</para> <para>Apply the patch:</para> <para><screen><userinput>patch -Np1 -i ../ed-&ed-patch-version;.patch</userinput></screen></para> -<para>Prepare Ed to be compiled:</para> +<para>Now prepare Ed for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>Install the package:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>We need to move the Ed binaries to the <filename -class="directory">/bin</filename> directory so they may be used in the event -that the <filename class="directory">/usr</filename> partition is +<para>And move the programs to the <filename>/bin</filename> directory, so +they can be used in the event that the <filename>/usr</filename> partition is unavailable.</para> <para><screen><userinput>mv /usr/bin/{ed,red} /bin</userinput></screen></para> </sect2> + diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml index 8ca1abd9f..51f410bf1 100644 --- a/chapter06/file-inst.xml +++ b/chapter06/file-inst.xml @@ -3,15 +3,15 @@ <sect2> <title>Installation of File</title> -<para>Prepare File to be compiled:</para> +<para>Prepare File for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --datadir=/usr/share/misc</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index 4a54d0c40..a43fc1dad 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -3,22 +3,25 @@ <sect2> <title>Installing Findutils</title> -<para>Prepare Findutils to be compiled:</para> +<para>Prepare Findutils for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para> -<para>By default, the location of the updatedb database is in /usr/var. -To make the location of <filename>/var/lib/misc/locatedb</filename> file -FHS compliant, pass the <emphasis>--localstatedir=/var/lib/misc</emphasis> -option to <userinput>configure</userinput>.</para> +<para>By default, the location of the updatedb database is in +<filename>/usr/var</filename>. To make the location of +<filename>/var/lib/misc/locatedb</filename> file FHS compliant, pass the +<emphasis>--localstatedir=/var/lib/misc</emphasis> option to +<userinput>configure</userinput>.</para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml index c21aca04d..7d9952306 100644 --- a/chapter06/flex-inst.xml +++ b/chapter06/flex-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Flex</title> -<para>Prepare Flex to be compiled:</para> +<para>Prepare Flex for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make bigcheck</userinput></screen></para> -<para>Install the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml index 0bc300aa7..b96c42e87 100644 --- a/chapter06/gawk-inst.xml +++ b/chapter06/gawk-inst.xml @@ -33,17 +33,19 @@ with its contents on a make uninstall.</para></listitem> <para><screen><userinput>patch -Np1 -i ../gawk-&gawk-patch-version;.patch</userinput></screen></para> -<para>Prepare Gawk to be compiled:</para> +<para>Now prepare Gawk for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 7d242663e..4cd23a986 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -55,7 +55,7 @@ is implemented.</para></listitem> <para><screen><userinput>make</userinput></screen></para> -<para>Check the results, but don't stop at errors (you'll remember the few +<para>Test the results, but don't stop at errors (you'll remember the few known ones):</para> <para><screen><userinput>make -k check</userinput></screen></para> diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml index dfaf8cf3d..c35ff0f5b 100644 --- a/chapter06/gettext-inst.xml +++ b/chapter06/gettext-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Gettext</title> -<para>Prepare Gettext to be compiled:</para> +<para>Prepare Gettext for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 402013b12..00253a99a 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -48,7 +48,7 @@ kernel headers into <filename>/usr/include</filename>.</para></listitem> <para><screen><userinput>make</userinput></screen></para> -<para>Check the results:</para> +<para>Test the results:</para> <para><screen><userinput>make check</userinput></screen></para> diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml index 474686e4b..4345f7a49 100644 --- a/chapter06/grep-inst.xml +++ b/chapter06/grep-inst.xml @@ -3,18 +3,20 @@ <sect2> <title>Installation of Grep</title> -<para>Prepare Grep to be compiled:</para> +<para>Prepare Grep for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \ --with-included-regex</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml index 4a4b7549e..0c046ff06 100644 --- a/chapter06/groff-inst.xml +++ b/chapter06/groff-inst.xml @@ -3,19 +3,19 @@ <sect2> <title>Installation of Groff</title> -<para>Prepare Groff to be compiled:</para> +<para>Prepare Groff for compilation:</para> <para><screen><userinput>PAGE=letter ./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Install the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Some groff/man document programs, such as <userinput>xman</userinput>, +<para>Some documentation programs, such as <userinput>xman</userinput>, will not work work properly without the following symlinks:</para> <para><screen><userinput>ln -s soelim /usr/bin/zsoelim diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml index 1eb523511..685f3830c 100644 --- a/chapter06/gzip-inst.xml +++ b/chapter06/gzip-inst.xml @@ -3,7 +3,7 @@ <sect2> <title>Installation of Gzip</title> -<para>Prepare Gzip to be compiled:</para> +<para>Prepare Gzip for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> @@ -14,7 +14,7 @@ directory:</para> <para><screen><userinput>cp gzexe.in{,.backup} sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> @@ -22,7 +22,7 @@ sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in</userinput></screen></para> <para><screen><userinput>make install</userinput></screen></para> -<para>Move the Gzip binaries to the <filename +<para>And move the programs to the <filename class="directory">/bin</filename> directory:</para> <para><screen><userinput>mv /usr/bin/gzip /bin diff --git a/chapter06/inetutils-inst.xml b/chapter06/inetutils-inst.xml index b5b0a9935..371c76066 100644 --- a/chapter06/inetutils-inst.xml +++ b/chapter06/inetutils-inst.xml @@ -3,7 +3,7 @@ <sect2> <title>Installation of Inetutils</title> -<para>Prepare Inetutils to be compiled:</para> +<para>Prepare Inetutils for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --disable-syslogd \ --libexecdir=/usr/sbin --disable-logger \ @@ -28,15 +28,15 @@ configuration files</para></listitem> </itemizedlist> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>Install it:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Put the ping command into the appropriate place:</para> +<para>And move the <userinput>ping</userinput> program to its proper place:</para> <para><screen><userinput>mv /usr/bin/ping /bin</userinput></screen></para> diff --git a/chapter06/kbd-inst.xml b/chapter06/kbd-inst.xml index 29958f1e9..c278ce3fa 100644 --- a/chapter06/kbd-inst.xml +++ b/chapter06/kbd-inst.xml @@ -9,15 +9,15 @@ utilities. Apply the patch:</para> <para><screen><userinput>patch -Np1 -i ../kbd-&kbd-patch-version;.patch</userinput></screen></para> -<para>Prepare Kbd to be compiled:</para> +<para>Prepare Kbd for compilation:</para> <para><screen><userinput>./configure</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/less-inst.xml b/chapter06/less-inst.xml index 99e67233a..33d49a375 100644 --- a/chapter06/less-inst.xml +++ b/chapter06/less-inst.xml @@ -3,15 +3,15 @@ <sect2> <title>Installation of Less</title> -<para>Prepare Less to be compiled:</para> +<para>Prepare Less for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/lfs-utils-inst.xml b/chapter06/lfs-utils-inst.xml index dfa022694..c9ce92233 100644 --- a/chapter06/lfs-utils-inst.xml +++ b/chapter06/lfs-utils-inst.xml @@ -7,7 +7,7 @@ <para><screen><userinput>make</userinput></screen></para> -<para>And install the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml index 4bf62e2ea..9e8456264 100644 --- a/chapter06/libtool-inst.xml +++ b/chapter06/libtool-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Libtool</title> -<para>Prepare Libtool to be compiled:</para> +<para>Prepare Libtool for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/lilo-inst.xml b/chapter06/lilo-inst.xml index 995f4c290..0dc483e5f 100644 --- a/chapter06/lilo-inst.xml +++ b/chapter06/lilo-inst.xml @@ -11,7 +11,7 @@ GRUB, which is available at <ulink url="&hints-root;grub-howto.txt"/>.</para> <para><screen><userinput>make</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml index 65d25e6d6..af4cf6908 100644 --- a/chapter06/m4-inst.xml +++ b/chapter06/m4-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of M4</title> -<para>Prepare M4 to be compiled:</para> +<para>Prepare M4 for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml index d3c7002c0..2b8248d1e 100644 --- a/chapter06/make-inst.xml +++ b/chapter06/make-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Make</title> -<para>Prepare Make to be compiled:</para> +<para>Prepare Make for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml index 6b9455681..5e46f0c0e 100644 --- a/chapter06/man-inst.xml +++ b/chapter06/man-inst.xml @@ -30,16 +30,15 @@ rather than the first place a program is found. By appending use the programs in the <filename class="directory">/static</filename> directory.</para> -<para>Prepare Man to be compiled:</para> +<para>Now prepare Man for compilation:</para> -<para><screen><userinput>PATH=$PATH:/usr/bin:/bin \ - ./configure -default -confdir=/etc</userinput></screen></para> +<para><screen><userinput>PATH=$PATH:/usr/bin:/bin ./configure -default -confdir=/etc</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/manpages-inst.xml b/chapter06/manpages-inst.xml index 07a5c35dc..bcf46b2d8 100644 --- a/chapter06/manpages-inst.xml +++ b/chapter06/manpages-inst.xml @@ -3,7 +3,7 @@ <sect2> <title>Installation of Man-pages</title> -<para>Install Man-pages by running the following command:</para> +<para>Install Man-pages by running:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/modutils-inst.xml b/chapter06/modutils-inst.xml index 6ae770984..42a3e9e0b 100644 --- a/chapter06/modutils-inst.xml +++ b/chapter06/modutils-inst.xml @@ -3,15 +3,15 @@ <sect2> <title>Installation of Modutils</title> -<para>Prepare Modutils to be compiled:</para> +<para>Prepare Modutils for compilation:</para> <para><screen><userinput>./configure</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml index f84e20a34..26cc70588 100644 --- a/chapter06/ncurses-inst.xml +++ b/chapter06/ncurses-inst.xml @@ -3,15 +3,21 @@ <sect2> <title>Installation of Ncurses</title> +<para>First fix two tiny bugs:</para> + <para><screen><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></para> -<para>Prepare Ncurses to be compiled:</para> +<para>The first patch corrects the <filename>etip.h</filename> header file, and +the second patch prevents some compiler warnings on the use of deprecated +headers.</para> + +<para>Now prepare Ncurses for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --with-shared \ --without-debug</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> @@ -19,11 +25,11 @@ patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch</userinput></screen></p <para><screen><userinput>make install</userinput></screen></para> -<para>Give the ncurses libraries executable permission:</para> +<para>Give the Ncurses libraries execute permissions:</para> <para><screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen></para> -<para>And fix up a library that shouldn't be executable at all:</para> +<para>And fix a library that shouldn't be executable:</para> <para><screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen></para> diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml index a0f1e0d0f..942feadc0 100644 --- a/chapter06/nettools-inst.xml +++ b/chapter06/nettools-inst.xml @@ -3,19 +3,17 @@ <sect2> <title>Installation of Net-tools</title> -<para>If you don't know what to answer to all the questions asked during -the <userinput>make</userinput> phase, then just accept the defaults, which -will be just fine in the majority of the cases. What you are asked here -are a bunch of questions relating to the kind of network protocols that you -have enabled in your kernel.</para> - -<para>The default answers will enable the tools from this package to work -with the most common protocols such as TCP, PPP and a bunch of others. You -still need to actually enable these protocols in the kernel. What you do -here is merely telling the programs to be able to use those protocols, but -it's up to the kernel to make them available to the system.</para> - -<para>Configure the Net-tools package:</para> +<para>If you don't know what to answer to all the questions asked during the +<userinput>make config</userinput> phase below, then just accept the defaults. +This will be just fine in the majority of cases. What you're asked here is a +bunch of questions about which network protocols you've enabled in your +kernel. The default answers will enable the tools from this package to work +with the most common protocols: TCP, PPP, and several others. You still need +to actually enable these protocols in the kernel -- what you do here is merely +telling the package to include support for those protocols in its programs, +but it's up to the kernel to make the protocols available.</para> + +<para>Prepare Net-tools for compilation with:</para> <para><screen><userinput>make config</userinput></screen></para> @@ -27,7 +25,7 @@ questions generated by <emphasis>make config</emphasis> by running <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make update</userinput></screen></para> diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml index f9bc0ae13..eb3635605 100644 --- a/chapter06/patch-inst.xml +++ b/chapter06/patch-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Patch</title> -<para>Prepare Patch to be compiled:</para> +<para>Prepare Patch for compilation:</para> <para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index 70bb43ee3..c286142a8 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -1,10 +1,9 @@ <sect2><title> </title><para> </para></sect2> + <sect2> <title>Installation of Perl</title> - - -<para>Prepare Perl to be compiled:</para> +<para>Prepare Perl for compilation:</para> <para><screen><userinput>./configure.gnu --prefix=/usr</userinput></screen></para> @@ -14,13 +13,15 @@ instead and modify the way perl is built. If you think you can live with the (sensible) defaults perl auto-detects, then just use the command listed above.</para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make test</userinput></screen></para> -<para>And finish off installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/procinfo-inst.xml b/chapter06/procinfo-inst.xml index 40a0030fc..97d5ae317 100644 --- a/chapter06/procinfo-inst.xml +++ b/chapter06/procinfo-inst.xml @@ -11,7 +11,7 @@ default switch, <emphasis>-ltermcap</emphasis>. This is done because libtermcap is declared obsolete in favor of libncurses.</para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml index f46c2955f..1dfdb8aa6 100644 --- a/chapter06/procps-inst.xml +++ b/chapter06/procps-inst.xml @@ -14,11 +14,11 @@ the patch:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>Install it:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Remove a spurious library link:</para> +<para>And remove a spurious library link:</para> <para><screen><userinput>rm /lib/libproc.so</userinput></screen></para> diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml index 682f64602..4afb3a845 100644 --- a/chapter06/psmisc-inst.xml +++ b/chapter06/psmisc-inst.xml @@ -3,7 +3,7 @@ <sect2> <title>Installation of Psmisc</title> -<para>Prepare Psmisc to be compiled:</para> +<para>Prepare Psmisc for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --exec-prefix=/</userinput></screen></para> @@ -13,22 +13,22 @@ in this package are often used in bootscripts; they should be in the /bin directory so they can be used in the event that the <filename class="directory">/usr</filename> partition isn't mounted.</para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Psmisc's pidof program isn't installed by default. Generally, this -isn't a problem because we later install the Sysvinit package, which -provides a better pidof program.</para> +<para>Psmisc's <userinput>pidof</userinput> program isn't installed by default. +Generally, this isn't a problem because we later install the Sysvinit package, +which provides a better <userinput>pidof</userinput> program.</para> -<para>It's up to you to decide if you are going to use the Sysvinit -package, which provides a pidof program, or not. If you're not going to -use Sysvinit, you should complete this package's installation by creating -the <filename>/bin/pidof</filename> symlink:</para> +<para>It's up to you to decide if you are going to use the Sysvinit package, +which provides a <userinput>pidof</userinput> program, or not. If you're not +going to use Sysvinit, you should complete this package's installation by +creating the <filename>/bin/pidof</filename> symlink:</para> <para><screen><userinput>ln -s killall /bin/pidof</userinput></screen></para> diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml index 0007f5d6a..4784ed4cc 100644 --- a/chapter06/sed-inst.xml +++ b/chapter06/sed-inst.xml @@ -3,17 +3,19 @@ <sect2> <title>Installation of Sed</title> -<para>Prepare Sed to be compiled:</para> +<para>Prepare Sed for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/sysklogd-inst.xml b/chapter06/sysklogd-inst.xml index 1b8de125d..8fc24d65a 100644 --- a/chapter06/sysklogd-inst.xml +++ b/chapter06/sysklogd-inst.xml @@ -3,11 +3,11 @@ <sect2> <title>Installation of Sysklogd</title> -<para>Prepare Sysklogd to be compiled:</para> +<para>Compile Sysklogd:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index 8020695c4..a0af97a88 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -21,7 +21,7 @@ sed 's/Sending processes/Sending processes started by init/g' \ <para><screen><userinput>make -C src</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install it:</para> <para><screen><userinput>make -C src install</userinput></screen></para> diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml index 07b462c50..aa9112405 100644 --- a/chapter06/tar-inst.xml +++ b/chapter06/tar-inst.xml @@ -3,18 +3,20 @@ <sect2> <title>Installation of Tar</title> -<para>Prepare Tar to be compiled:</para> +<para>Prepare Tar for compilation:</para> <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \ --libexecdir=/usr/bin</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml index 5d73d36d0..4dc11144f 100644 --- a/chapter06/texinfo-inst.xml +++ b/chapter06/texinfo-inst.xml @@ -3,22 +3,23 @@ <sect2> <title>Installation of Texinfo</title> -<para>Prepare Texinfo to be compiled:</para> +<para>Prepare Texinfo for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> +<para>Test the results:</para> + <para><screen><userinput>make check</userinput></screen></para> <para>Install the package:</para> <para><screen><userinput>make install</userinput></screen></para> -<para>Install the texinfo components which belong in a TeX -installation:</para> +<para>And install the components belonging in a TeX installation:</para> <para><screen><userinput>make TEXMF=/usr/share/texmf install-tex</userinput></screen></para> diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml index 4650d31b8..bc42df3af 100644 --- a/chapter06/vim-inst.xml +++ b/chapter06/vim-inst.xml @@ -10,15 +10,15 @@ class="directory">/etc</filename>.</para> <para><screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h</userinput></screen></para> -<para>Prepare Vim to be compiled:</para> +<para>Now prepare Vim for compilation:</para> <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> -<para>Continue with compiling the package:</para> +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Finish installing the package:</para> +<para>And install the package:</para> <para><screen><userinput>make install</userinput></screen></para> diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index 97885db8c..dfdec277c 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -9,26 +9,30 @@ so by applying this patch:</para> <para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;.patch</userinput></screen></para> -<para>Prepare Zlib to be compiled:</para> +<para>Now prepare Zlib for compilation:</para> <para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \ ./configure --prefix=/usr --shared</userinput></screen></para> <para>The <emphasis>-fPIC</emphasis> flag helps to assure -quality in the dynamic zlib library.</para> +quality in the dynamic Zlib library.</para> + +<para>Compile the package:</para> <para><screen><userinput>make</userinput></screen></para> -<para>Install the libraries:</para> +<para>Install the shared libraries:</para> + +<para><screen><userinput>make install</userinput></screen></para> -<para><screen><userinput>make install -make clean +<para>Now also build and install the non-shared libraries:</para> +<para><screen><userinput>make clean ./configure --prefix=/usr make make test make install</userinput></screen></para> -<para>The shared zlib library should be installed in the +<para>The shared Zlib library should be installed in the <filename>/lib</filename> directory. That way, in the event that you must boot without the <filename>/usr</filename> directory, vital system programs will still have access to |