The E2fsprogs package contains the utilities for handling theext2file system. It also supports theext3journaling file system.
Fix a compilation error in E2fsprogs' testsuite
sed -i -e 's/-DTEST/$(ALL_CFLAGS) &/' lib/e2p/Makefile.in
It is recommended that E2fsprogs be built in a subdirectory of the source tree
mkdir -v build cd build
Prepare E2fsprogs for compilation
../configure --prefix=/usr --with-root-prefix="" \ --enable-elf-shlibs --disable-evms
The meaning of the configure options
Certain programs (such as the e2fsck program) are considered essential programs. When, for example,/usris not mounted, these programs still need to be available. They belong in directories like/liband/sbin. If this option is not passed to E2fsprogs' configure, the programs are installed into the/usrdirectory.
This creates the shared libraries which some programs in this package use.
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 LFS 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
To test the results, issue: make check.
Install the binaries and documentation
make install
Install the shared libraries
make install-libs