The following commands should build integrit:

    ./configure && make

Then after su'ing to root:

    make install


SECURE INSTALLATION --------------------------------------------------

Please note that if you are doing this for real, you'll need to
compile on a trusted machine (i.e., one with a fresh install of the OS
that hasn't yet been plugged into the network) and copy the compiled
binary to a secure location.  

At runtime the binary should be copied back to the localhost or run
directly from the secure location.

Doing otherwise is fine for testing, but it won't be secure, since
there's less security in compiling integrit on an untrusted host, and
no security in leaving the integrit binary on the host your checking.


TROUBLESHOOTING ------------------------------------------------------

If you have a required library in a place your compiler wouldn't
normally look, e.g. "/tmp/foo", you can provide that information to
configure like so:

 LDFLAGS="-L /tmp/foo/lib" ./configure

... and to say where the headers are too ...

 LDFLAGS="-L /tmp/foo/lib" CPPFLAGS="-I /tmp/foo/include" ./configure

... for a shell with Bourne-shell syntax.


If you have trouble during "make", try using GNU make.  Systems
sometimes have GNU make installed as "gmake".


The auxiliary programs (in aux) won't build properly if the object
files in the base directory were configured for leak detection
(./configure --with-leakfind=DIR).  

This is not a bug; just compile those files without leak detection
before building the auxiliary files.  

