Compiling
Let’s assume it is squidGuard-1.2.1 we are trying to install:
cd squidGuard-1.2.1 ./configure make
|
If no errors occurred squidGuard is now installed in /usr/local/. There are a couple of option you can use when running ./configure. For example:
Installing in a different location |
./configure --prefix=/some/other/directory
|
BerkeleyDB not in /usr/local/BerkeleyDB installed |
./configure --with-db=/directory/of/BerkeleyDB/installation
|
When installed from the sources the BerkeleyDB will be located in /usr/local/BerkeleyDBx.y with x.y denoting the version number.
Annotation: Make sure that the shared library of your BerkeleyDB installation is known by your system (check /etc/ld.so.conf).
See all ./configure options |
./configure --help
|
A complete overview of all configure options with some explanations can be found here.