# E2fsprogs-&e2fsprogs-version;

## Installation of E2fsprogs

When cross-compiling, `configure` cannot determine sizes and assumes short=2, int=4, long=4, long long=8. This is not correct for PowerPC64. Adjust the values with:

    echo "ac_cv_sizeof_long=8" > config.cache

    CC="${CC} ${BUILD64}" PKG_CONFIG=true \
      ../configure --prefix=/tools --enable-elf-shlibs \
        --build=${CLFS_HOST} --host=${CLFS_TARGET} \
        --disable-libblkid --disable-libuuid --disable-fsck \
        --disable-uuidd --cache-file=config.cache

    make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" \
        LIBBLKID="-lblkid" STATIC_LIBBLKID="-lblkid" libs
    make LIBUUID="-luuid" STATIC_LIBUUID="-luuid" LIBBLKID="-lblkid" \
        STATIC_LIBBLKID="-lblkid" LDFLAGS="-Wl,-rpath,/tools/lib64" -C e2fsck/

Install the e2fsck binary:

    make install -C e2fsck

Details on this package are located in contents-e2fsprogs