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 @@ Installation of Autoconf -Prepare Autoconf to be compiled: +Prepare Autoconf for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +And install the package: make install 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 @@ Installation of Automake -Prepare Automake to be compiled: +Prepare Automake for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +Install the package: make install -Create a necessary symbolic link: +And create a necessary symbolic link: ln -s automake-1.7 /usr/share/automake 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: patch -Np1 -i ../bash-&bash-patch-version;.patch -Prepare Bash to be compiled: +Prepare Bash for compilation: ./configure --prefix=/usr --bindir=/bin -Continue with compiling the package: +Compile the package: make +Test the results: + make tests -And finish off installing the package: +Install the package: make install -Reload the newly compiled Bash: +And reload the newly compiled bash program: exec /bin/bash --login set +h 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. make -And finish off installing the package: +And install it: make PREFIX=/usr install 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). -Check the results: +Test the results: make check 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 @@ Installation of Bison -Prepare Bison to be compiled: +Prepare Bison for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 @@ Installation of Bzip2 -Begin compiling the package: +Prepare Bzip2 for compilation with: make -f Makefile-libbz2_so make clean -The -f flag will cause bzip2 to be built +The -f flag will cause Bzip2 to be built using a different Makefile file, in this case the Makefile-libbz2_so file, which creates a dynamic libbz2.so library and links the bzip2 utilities against it. -Continue compiling the package: +Compile the package: make -Install the package: +Install it: make install -Copy the Bzip2 binary into the /bin directory, make some -necessary symbolic links and clean up. +And install the shared bzip2 binary into the +/bin directory, then make some +necessary symbolic links, and clean up. 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: patch -Np1 -i ../coreutils-&coreutils-uname-patch-version;.patch -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: +We do not want Coreutils to install its version of the +hostname program, because it is inferior to the version +provided by Net-tools. Prevent its installation by applying a patch: patch -Np1 -i ../coreutils-&coreutils-hostname-patch-version;.patch -Prepare Coreutils to be compiled: +Now prepare Coreutils for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results thoroughly: + make check-root make RUN_EXPENSIVE_TESTS=yes check @@ -30,7 +32,7 @@ make RUN_EXPENSIVE_TESTS=yes check make install -Move files to their proper locations: +And move some programs to their proper locations: 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 @@ Installation of Diffutils -Prepare Diffutils to be compiled: +Prepare Diffutils for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +And install the package: make install 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: mkdir ../e2fsprogs-build cd ../e2fsprogs-build -Prepare E2fsprogs to be compiled: +Prepare E2fsprogs for compilation: ../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \     --enable-elf-shlibs @@ -34,17 +34,19 @@ of. -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Begin installing the package: +Install most of the package: make install -Install the shared libraries: +And install also the shared libraries: make install-libs 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. -Ed uses mktemp to create temporary files in /tmp, but this function has a security -vulnerability (see section on Temporary Files in ). This -patch makes Ed use mkstemp instead, which is the recommended way to create -temporary files. +Ed normally uses the mktemp function to create temporary files in +/tmp, but this function contains a +vulnerability (see the section on Temporary Files in ). The +following patch makes Ed use mkstemp instead, which is the recommended way to +create temporary files. Apply the patch: patch -Np1 -i ../ed-&ed-patch-version;.patch -Prepare Ed to be compiled: +Now prepare Ed for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +Install the package: make install -We need to move the Ed binaries to the /bin directory so they may be used in the event -that the /usr partition is +And move the programs to the /bin directory, so +they can be used in the event that the /usr partition is unavailable. mv /usr/bin/{ed,red} /bin + 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 @@ Installation of File -Prepare File to be compiled: +Prepare File for compilation: ./configure --prefix=/usr --datadir=/usr/share/misc -Continue with compiling the package: +Compile the package: make -And finish off installing the package: +And install it: make install 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 @@ Installing Findutils -Prepare Findutils to be compiled: +Prepare Findutils for compilation: ./configure --prefix=/usr --libexecdir=/usr/bin -By default, the location of the updatedb database is in /usr/var. -To make the location of /var/lib/misc/locatedb file -FHS compliant, pass the --localstatedir=/var/lib/misc -option to configure. +By default, the location of the updatedb database is in +/usr/var. To make the location of +/var/lib/misc/locatedb file FHS compliant, pass the +--localstatedir=/var/lib/misc option to +configure. -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 @@ Installation of Flex -Prepare Flex to be compiled: +Prepare Flex for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make bigcheck -Install the package: +And install the package: make install 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. patch -Np1 -i ../gawk-&gawk-patch-version;.patch -Prepare Gawk to be compiled: +Now prepare Gawk for compilation: ./configure --prefix=/usr --libexecdir=/usr/bin -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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. make -Check the results, but don't stop at errors (you'll remember the few +Test the results, but don't stop at errors (you'll remember the few known ones): make -k check 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 @@ Installation of Gettext -Prepare Gettext to be compiled: +Prepare Gettext for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 /usr/include. make -Check the results: +Test the results: make check 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 @@ Installation of Grep -Prepare Grep to be compiled: +Prepare Grep for compilation: ./configure --prefix=/usr --bindir=/bin \     --with-included-regex -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +And install the package: make install 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 @@ Installation of Groff -Prepare Groff to be compiled: +Prepare Groff for compilation: PAGE=letter ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make -Install the package: +And install it: make install -Some groff/man document programs, such as xman, +Some documentation programs, such as xman, will not work work properly without the following symlinks: 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 @@ Installation of Gzip -Prepare Gzip to be compiled: +Prepare Gzip for compilation: ./configure --prefix=/usr @@ -14,7 +14,7 @@ directory: cp gzexe.in{,.backup} sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in -Continue with compiling the package: +Compile the package: make @@ -22,7 +22,7 @@ sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in make install -Move the Gzip binaries to the And move the programs to the /bin directory: 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 @@ Installation of Inetutils -Prepare Inetutils to be compiled: +Prepare Inetutils for compilation: ./configure --prefix=/usr --disable-syslogd \     --libexecdir=/usr/sbin --disable-logger \ @@ -28,15 +28,15 @@ configuration files -Continue with compiling the package: +Compile the package: make -Finish installing the package: +Install it: make install -Put the ping command into the appropriate place: +And move the ping program to its proper place: mv /usr/bin/ping /bin 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: patch -Np1 -i ../kbd-&kbd-patch-version;.patch -Prepare Kbd to be compiled: +Prepare Kbd for compilation: ./configure -Continue with compiling the package: +Compile the package: make -And finish off installing the package: +And install it: make install 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 @@ Installation of Less -Prepare Less to be compiled: +Prepare Less for compilation: ./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc -Continue with compiling the package: +Compile the package: make -Finish installing the package: +And install it: make install 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 @@ make -And install the package: +And install it: make install 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 @@ Installation of Libtool -Prepare Libtool to be compiled: +Prepare Libtool for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +And install the package: make install 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 . make -And finish off installing the package: +And install it: make install 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 @@ Installation of M4 -Prepare M4 to be compiled: +Prepare M4 for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 @@ Installation of Make -Prepare Make to be compiled: +Prepare Make for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -And finish off installing the package: +And install the package: make install 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 /static directory. -Prepare Man to be compiled: +Now prepare Man for compilation: -PATH=$PATH:/usr/bin:/bin \ -    ./configure -default -confdir=/etc +PATH=$PATH:/usr/bin:/bin ./configure -default -confdir=/etc -Continue with compiling the package: +Compile the package: make -And finish off installing the package: +And install it: make install 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 @@ Installation of Man-pages -Install Man-pages by running the following command: +Install Man-pages by running: make install 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 @@ Installation of Modutils -Prepare Modutils to be compiled: +Prepare Modutils for compilation: ./configure -Continue with compiling the package: +Compile the package: make -And finish off installing the package: +And install it: make install 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 @@ Installation of Ncurses +First fix two tiny bugs: + patch -Np1 -i ../ncurses-&ncurses-version;-etip-2.patch patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch -Prepare Ncurses to be compiled: +The first patch corrects the etip.h header file, and +the second patch prevents some compiler warnings on the use of deprecated +headers. + +Now prepare Ncurses for compilation: ./configure --prefix=/usr --with-shared \     --without-debug -Continue with compiling the package: +Compile the package: make @@ -19,11 +25,11 @@ patch -Np1 -i ../ncurses-&ncurses-version;-vsscanf.patch

make install -Give the ncurses libraries executable permission: +Give the Ncurses libraries execute permissions: chmod 755 /usr/lib/*.&ncurses-version; -And fix up a library that shouldn't be executable at all: +And fix a library that shouldn't be executable: chmod 644 /usr/lib/libncurses++.a 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 @@ Installation of Net-tools -If you don't know what to answer to all the questions asked during -the make 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. +If you don't know what to answer to all the questions asked during the +make config 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. -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. - -Configure the Net-tools package: +Prepare Net-tools for compilation with: make config @@ -27,7 +25,7 @@ questions generated by make config by running make -Finish installing the package: +And install it: make update 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 @@ Installation of Patch -Prepare Patch to be compiled: +Prepare Patch for compilation: CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 @@    + Installation of Perl - - -Prepare Perl to be compiled: +Prepare Perl for compilation: ./configure.gnu --prefix=/usr @@ -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. -Continue with compiling the package: +Compile the package: make +Test the results: + make test -And finish off installing the package: +And install the package: make install 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, -ltermcap. This is done because libtermcap is declared obsolete in favor of libncurses. -Finish installing the package: +And install the package: make install 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: make -Finish installing the package: +Install it: make install -Remove a spurious library link: +And remove a spurious library link: rm /lib/libproc.so 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 @@ Installation of Psmisc -Prepare Psmisc to be compiled: +Prepare Psmisc for compilation: ./configure --prefix=/usr --exec-prefix=/ @@ -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 /usr partition isn't mounted. -Continue with compiling the package: +Compile the package: make -Finish installing the package: +And install it: make install -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. +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. -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 /bin/pidof symlink: +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 /bin/pidof symlink: ln -s killall /bin/pidof 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 @@ Installation of Sed -Prepare Sed to be compiled: +Prepare Sed for compilation: ./configure --prefix=/usr --bindir=/bin -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 @@ Installation of Sysklogd -Prepare Sysklogd to be compiled: +Compile Sysklogd: make -Finish installing the package: +And install it: make install 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' \ make -C src -Finish installing the package: +And install it: make -C src install 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 @@ Installation of Tar -Prepare Tar to be compiled: +Prepare Tar for compilation: ./configure --prefix=/usr --bindir=/bin \     --libexecdir=/usr/bin -Continue with compiling the package: +Compile the package: make +Test the results: + make check -Finish installing the package: +And install the package: make install 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 @@ Installation of Texinfo -Prepare Texinfo to be compiled: +Prepare Texinfo for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make +Test the results: + make check Install the package: make install -Install the texinfo components which belong in a TeX -installation: +And install the components belonging in a TeX installation: make TEXMF=/usr/share/texmf install-tex 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. echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h -Prepare Vim to be compiled: +Now prepare Vim for compilation: ./configure --prefix=/usr -Continue with compiling the package: +Compile the package: make -Finish installing the package: +And install the package: make install 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: patch -Np1 -i ../zlib-&zlib-patch-version;.patch -Prepare Zlib to be compiled: +Now prepare Zlib for compilation: CFLAGS="$CFLAGS -fPIC" \     ./configure --prefix=/usr --shared The -fPIC flag helps to assure -quality in the dynamic zlib library. +quality in the dynamic Zlib library. + +Compile the package: make -Install the libraries: +Install the shared libraries: -make install -make clean +make install + +Now also build and install the non-shared libraries: +make clean ./configure --prefix=/usr make make test make install -The shared zlib library should be installed in the +The shared Zlib library should be installed in the /lib directory. That way, in the event that you must boot without the /usr directory, vital system programs will still have access to