From 73aedd1d35747ff2fad4ddf514dca810721a612a Mon Sep 17 00:00:00 2001 From: Alex Gronenwoud Date: Sat, 1 Nov 2003 22:31:50 +0000 Subject: Merging caption and installation sections for all packages in chapters 5 and 6. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3052 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/e2fsprogs.xml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) (limited to 'chapter06/e2fsprogs.xml') diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 412e99fe6..d9ff51cb9 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -7,6 +7,61 @@ Estimated required disk space: &e2fsprogs-compsize; &aa-e2fsprogs-shortdesc; &aa-e2fsprogs-dep; -&c6-e2fsprogs-inst; + +   + + +Installation of E2fsprogs + +It is recommended to build E2fsprogs outside of the +source tree: + +mkdir ../e2fsprogs-build +cd ../e2fsprogs-build + +Prepare E2fsprogs for compilation: + +../e2fsprogs-&e2fsprogs-version;/configure --prefix=/usr --with-root-prefix="" \ +    --enable-elf-shlibs + +The meaning of the configure options: + + +--with-root-prefix="": Certain +programs (such as the e2fsck program) are considered essential programs. +When, for example, /usr isn't +mounted, these essential program have to be available. They belong in +directories like /lib and +/sbin. If this option isn't passed +to E2fsprogs's configure, the programs are placed in the +/usr directory, which is not what we +want. + +--enable-elf-shlibs: This creates +the shared libraries which some programs in this package make use +of. + + +Compile the package: + +make + +This package has a test suite available which can perform a number of +checks to ensure it built correctly. Should you choose to run it, the +following command will do so: + +make check + +Install most of the package: + +make install + +And install also the shared libraries: + +make install-libs + + + + -- cgit v1.2.3-54-g00ecf