The build and installation is pretty straight forward. First, call
$ ./configure $ make $ make install
By default, the pid file used by the daemon will live in $LOCALSTATEDIR/agentsmith/agentsmith.pid
The default location of the configuration file is $SYSCONFDIR/agentsmith/agentsmith.conf
Those location can be changed by either specifying --localstatedir=<PATH>, --sysconfdir=<PATH>, --with-pid=<FILEPATH>, or --with-config=<FILEPATH>.
If the PCRE or OpenSSL library cannot be found, make sure you set the proper CPPFLAGS, and LDFLAGS environment variable before calling configure, e.g.
$ export CPPFLAGS='-I/usr/local/include' $ export LDFLAGS='-L/usr/local/lib'
Further, ensure that the development packages for PCRE and OpenSSL are installed, this is especially important if you build agentsmith on a Linux distribution.
That's all folks.
For more generic information, refer to INSTALL.generic in the source tarball.
![[Valid XHTML 1.0]](/images/w3c/valid-xhtml10-blue.png)
![[Valid CSS]](/images/w3c/valid-css2-blue.png)