Here are my notes for installing squidGuard. Hope it helps.
Installing BerkeleyDB (for use with squidGuard)
* use berkeleydb2.7.7; squidGuard does seems not to work with
later version or berkeleydb
1. tar -xvzh db-2.7.7.gz
2. cd db-2.7.7
3. cd dist
4. ./configure
5. make clean
6. make
7. make install
-------------------------
Installing squidGuard
1. tar xvzf squidGuard-1.1.2.tar.gz
2. cd squidGuard-1.1.2
3. ./configure --with-db=/usr/local/BerkeleyDB \
--with-sg-config=/usr/local/squid/etc/squidguard.conf \
--with-sg-logdir=/usr/local/squidGuard/log \
--with-sg-dbhome=/usr/local/squidGuard/db
4. make
5. create the following directories
mkdir /usr/local/squidGuard
mkdir /usr/local/squidGuard/log
mkdir /usr/local/squidGuard/db
mkdir /usr/local/squidGuard/db~
mkdir /usr/local/squidGuard/db/porn
mkdir /usr/local/squidGuard/db/hack
mkdir /usr/local/squidGuard/db/unblock
mkdir /usr/local/squidGuard/db/ads
6. make test
7. make install
8. pico /usr/local/squid/etc/squid.conf
redirect_program /usr/local/bin/squidGuard -c /usr/local/squid/etc/squidguard.conf
9. copy squidguard.conf to /usr/local/squid/etc
10. copy block list files from sample to specified directory (/usr/local/squidGuard/db)
cp /usr/local/src/squidGuard-1.1.2/samples/dest/blacklist/*
/usr/local/squidGuard/db/porn/
> Good day to all!
>
> Anyone can help me install squid guard?
> there is an error?
>
> ** The Berkley DB library version 2.6.4 or newer
> is required. Get it from http://www.sleepycat.com
> use --with-db=DIR or --with-db-inc=DIR,
> --with-db-lib=DIR to specify its location
> (default is /usr/local/BerkeleyDB)
>
> So I download the DB library but i cant seems to compile it
> using perl... there is one error keeps on bugging me..
>
> [root@cache perl.BerkeleyDB]# make
> cc -c -I./libraries/3.1.8 -Dbool=char -DHAS_BOOL -I/usr/local/include -O2
> -DV
> ERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fpic -I/usr/lib/perl5/5.00503/i386-li
> nux/
> CORE BerkeleyDB.c
> BerkeleyDB.xs: In function `db_strerror':
> BerkeleyDB.xs:476: `DB_RUNRECOVERY' undeclared (first use in this function)
> BerkeleyDB.xs:476: (Each undeclared identifier is reported only once
> BerkeleyDB.xs:476: for each function it appears in.)
> BerkeleyDB.c: In function `XS_BerkeleyDB__Common_db_get':
> BerkeleyDB.c:3987: `DB_GET_BOTH' undeclared (first use in this function)
> BerkeleyDB.c: In function `XS_BerkeleyDB__Cursor_c_get':
> BerkeleyDB.c:4376: `DB_GET_BOTH' undeclared (first use in this function)
> BerkeleyDB.c:4397: `DB_JOIN_ITEM' undeclared (first use in this function)
> make: *** [BerkeleyDB.o] Error 1
>
>
> please advise..
> Thanks
>
>
>
>
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]