wiki:Installation

Building and Installation

Volta should build with minimal effort. First, make sure you've got the dependencies installed.

Dependencies

If available, install these dependencies from your OS packaging system of choice.

Compiling

Just type 'make'. Depending on your platform, GNU make may have been installed as 'gmake' If you get any errors, try 'gmake' first.

It should build without warnings.

Installation

Volta doesn't contain any installation targets. You can put the binary wherever makes sense on your system. An example:

% mv volta /usr/local/bin
% mkdir -p /var/db/squid
% volta -f /var/db/squid/volta.db -c volta.rules

Development

Volta source can be cloned via Mercurial. The repo can be found at:

http://code.martini.nu/volta

You can use the 'debug' make target to compile a (very noisy) binary that contains gdb symbols and perftool hooks. Set the CPUPROFILE environment variable to "cpu.prof" to generate a profile.

If you're hacking, you'll want these dependencies installed too.