Certain programs (such as the e2fsck program) are
considered essential programs. When, for example,
/usr is not mounted, these
programs still need to be available. They belong in
directories like /lib and
/sbin. If this option is not
passed to E2fsprogs' configure, the programs are installed
into the /usr directory.

--enable-elf-shlibs

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

--disable-*

This prevents E2fsprogs from building and installing the
libuuid and libblkid libraries, the uuidd daemon, and the fsck wrapper, as Util-Linux
installed all of them earlier.

Compile the package:

make

To test the results, issue:

make check

One of the E2fsprogs tests will attempt to allocate 256 MB of
memory. If you do not have significantly more RAM than this, be
sure to enable sufficient swap space for the test. See Section 2.3,
“Creating a File System on the Partition” and
Section 2.4,
“Mounting the New Partition” for details on
creating and enabling swap space. Additionally, three tests try to
allocate a two terabyte partition and will fail unless you have at
least that much unused disk space available.

Install the binaries, documentation, and shared libraries:

make install

Install the static libraries and headers:

make install-libs

Make the installed static libraries writable so debugging symbols
can be removed later:

chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a

This package installs a gzipped .info
file but doesn't update the system-wide dir file. Unzip this file and then update the
system dir file using the following
commands.