8.2. E2fsprogs-1.40.4

The E2fsprogs package contains the utilities for handling the ext2 file system. It also supports the ext3 journaling file system.

8.2.1. Installation of E2fsprogs

Make sure the libraries get installed to /tools/lib64:

chmod -v 0755 configure
cp -v configure{,.orig}
sed -e "/libdir=.*\/lib/s@/lib@/lib64@g" configure.orig > configure

The E2fsprogs documentation recommends that the package be built in a subdirectory of the source tree:

mkdir -v build
cd build

Prepare E2fsprogs for compilation:

CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
    --enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" \
    --with-linker=${LD} --host=${CLFS_TARGET}

The meaning of the configure options:

--enable-elf-shlibs

This creates the shared libraries which some programs in this package use.

--disable-evms

This disables the building of the Enterprise Volume Management System (EVMS) plugin. This plugin is not up-to-date with the latest EVMS internal interfaces and EVMS is not installed as part of a base CLFS system, so the plugin is not required. See the EVMS website at http://evms.sourceforge.net/ for more information regarding EVMS.

Compile the package:

make libs

Install the static libraries and headers:

make install-libs

The meaning of the make option:

install-libs

This command will only install the e2fsprogs libraries.

Details on this package are located in Section 10.15.2, “Contents of E2fsprogs.”