Installing File-3.37

Estimated build time:           1 minute
Estimated required disk space:  2 MB

Installation of File

Install File by running the following commands:

touch aclocal.m4 configure Makefile.in stamp-h.in &&
./configure --prefix=/usr --datadir=/usr/share/misc &&
make &&
make install

Command explanations

touch aclocal.m4 configure Makefile.in stamp-h.in: This command works around an error which occurs when compiling file with automake-1.5 installed by changing the modification dates of some files to the current date. Changing the date will cause make to think the files are already up-to-date so they're not recreated.

Contents of file-3.37

Descriptions

file

File tests each specified file in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed.

Dependencies

File-3.37 needs the following to be installed:


autoconf: autoconf, autoheader
automake: aclocal, automake
bash: sh
binutils: as, ld
diffutils: cmp
fileutils: chmod, install, ln, ls, mv, rm, touch
gcc: cc1, collect2, cpp0, gcc
grep: egrep, grep
m4: m4
make: make
gawk: gawk
sed: sed
sh-utils: echo, expr, hostname, sleep
texinfo: makeinfo
textutils: cat, tr