MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« libunistring 32-bit HOME File 32-bit »

File 64-bit

Name: File 64-bit
Summary: A tool to determine the type of a file from heuristics
License: BSD 2-Clause
Version: 5.46
URL: http://ftp.astrom.com/pub/file/file-5.46.tar.xz

Average Build Time: less than 0.1 SBU
Used Install Space: 19 MiB

Configuration

To configure File 64-bit for install into the build root, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64

Compilation and Installation

To compile File 64-bit, run the following command:

make

Now, run the test suite:

make check

Finally, to install File 64-bit into the build tree, run the following command:

make install
rm -fv /usr/lib64/libmagic.la

NOTE: Do not delete the unpacked sources

Contents

Contents  
Installed Programs file
Installed Libraries libmagic.so
Navigation    
« libunistring 32-bit HOME File 32-bit »