Details on this package are located in Section 10.33.2, “Contents of File.”
The File package contains a utility for determining the type of a given file or files.
The following patch will fix a compile issue that would prevent a
proper creation of the magic.mgc
file. This would show up as an error messsage. ERROR: file: File 4.26 supports only 6 version
magic files. `/tools/share/file/magic.mgc' is version 2:
patch -Np1 -i ../file-4.26-cross_compile-1.patch
Prepare File for compilation:
CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
--build=${CLFS_HOST} --host=${CLFS_TARGET}
Compile the package:
make
Install the package:
make install
Details on this package are located in Section 10.33.2, “Contents of File.”