I know this is the most asked question.  And have read all the documentation I
can find on it.  But....

squidguard works fine with txt lists, but the db files fail to load.

It seems that the info at http://www.maynidea.com/squidguard/faq-plus.html
points to this failure as being from using the wrong version of BerkleyDB. So I
got the 3.2.9 version and installed, then in trying to recompile squidguard
with the switches:

--with-db=/usr/local/BerkleyDB.3.2
--with-db-lib=/usr/local/BerkleyDB.3.2/lib
--with-db-inc=/usr/local/BerkleyDB.3.2/inc

./configure works fine, configure.log shows that the correct DB directory is
being used.

however make fails:

making all in src
gcc -I.. -I. -I. -I/usr/local/BerkleyDB.3.2/inc -DHAVE_CONFIG_H -g -O2
-I/usr/local/BerkleyDB.3.2/inc -c sgDb.c
sgDb.c: In function `sgDbInit':
sgDb.c:101: warning: passing arg 2 of pointer to function from incompatible
pointer type
sgDb.c:101: warning: passing arg 4 of pointer to function makes pointer from
integer without a cast
sgDb.c:101: too few arguments to function
sgDb.c:107: warning: passing arg 2 of pointer to function from incompatible
pointer type
sgDb.c:107: warning: passing arg 4 of pointer to function makes pointer from
integer without a cast
sgDb.c:107: too few arguments to function
make[1]: *** [sgDb.o] Error 1
make[1]: Leaving directory `/home/user/squidguard/squidGuard-1.2.0/src'
make: *** [all] Error 1

Any ideas on what I am missing in the build process ?

TIA (and continuing to use txt files in the mean time)


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to