I'm trying to build squidguard but am running into a little problem. It
depends on libdb2, but the congigure script fails on Debian's libdb2 and
libdb2-dev packages installed, saying the berkley DB package isn't
installed.

I'd like to build squidguard without having to have the packages under
/usr/local like it suggests, but I'm not sure how. Even specifying the
directories as configure options doesn't seem to be working.

This is what I do:
--->

./squidGuard-1.1.2# ./configure
--with-db-inc=/usr/include/db2/ --with-db-lib=/usr/lib/
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking for lynx... /usr/bin/lynx
checking for perl... /usr/bin/perl
checking for db_version in -ldb... no

** The Berkley DB library is required for squidGuard
   to compile. Get it from http://www.sleepycat.com
   use --with-db=DIR or --with-db-lib=DIR to specify
   its location. (default is /usr/local/BerkeleyDB)

<---
The only thing I can see is it probably is looking for `libdb.a', which
is in libc6-dev, and it needs to use `libdb2.a' from libdb2-dev.
I'm looking through the configure scripts, but It's hard reading for me
and I'm not sure what or how to change. I'm hoping someone's
successfully built this program and can tell me what I need to tweak for
it. I've also looked at junkbuster. But I need a caching proxy more than
I need a redirector. And I need to be able to redirect sets of addresses
to sets of other addresses.

For example, something like:

http://*.domain.com/* --> http://otherdomain.com/foo
*://[ad|ads|spam].*/*/*.[gif|jpg|png] -> localhost/blocked/banner.png


etc..

junkbuster looked like it couldn't redirect to external sites like this,
plus it's a proxy in its own right.

Any other suggestions, perhaps?

Thanks,

-- Ferret no baka

Reply via email to