Here's how I compiled/setup DB-3.2.9 and squidGuard-1.2.0.  Worked good for
me.

The DB-3.2.9 is on the Sleepcat site at
http://www.sleepycat.com/update/snapshot/db-3.2.9.tar.gz

Extract the source files from the tar.gz's as below or move to your
preferred location.

====

# berkeley db-3.2.9
cd /root/src/squidstuff/db-3.2.9
cd build_unix
../dist/configure
make
make install

# squidGuard-1.20
cd /root/src/squidstuff/squidGuard-1.2.0
./configure --with-db=/usr/local/BerkeleyDB.3.2 \
  --with-dblib=/usr/local/BerkeleyDB.3.2/lib \
  --with-db-inc=/usr/local/BerkeleyDB.3.2/include
make
make install

====

Then fix up your squidGuard.conf to your liking.  Make sure the files in
squidGuard/log and squidGuard/db are owned by nobody and have effective
permissions to be read.  Mine are still 777 at the moment but haven't had a
chance to get back and recheck them.

Regards,
Stephen.

Reply via email to