Hi,

Looks to me like you have not installed the correct version of the Berkeley
DB. SquidGuard will have trouble working with other versions

Try downloading and isntalling the 2.x version from
http://ftp.ost.eltele.no/pub/db/db-2.7.7.tar.gz and trying again.

Andrew

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of linux
> @esaravana
> Sent: Thursday, 8 November 2001 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: Help with squid guard installation on Redhat 7.1
>
>
> Hello,
>
> I did
> ./confihure; make
>
> I got back
> gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H
> -g -O2 -I/u
> sr/local/BerkeleyDB/include -c main.c
> In file included from main.c:19:
> sg.h:181: parse error before `DB_INFO'
> sg.h:181: warning: no semicolon at end of struct or union
> sg.h:186: parse error before `}'
> make[1]: *** [main.o] Error 1
> make[1]: Leaving directory `/usr/src/squidGuard-1.1.4/src'
> make: *** [all] Error 1
>
>
>
> So I did
> ./configure --with-db-inc=/usr/include/db2 --with-db-lib=/usr/lib; make
>
> I got back
> gcc -I.. -I. -I. -I/usr/include/db2 -DHAVE_CONFIG_H -g -O2
> -I/usr/include/db
> 2 -c sgDb.c
> sgDb.c: In function `defined':
> sgDb.c:130: too many arguments to function
> make[1]: *** [sgDb.o] Error 1
> make[1]: Leaving directory `/usr/src/squidGuard-1.1.4/src'
> make: *** [all] Error 1
>
>
> Any help is appreciated
>
>
> Sundar

Reply via email to