Re: I can not find DB_INFO,when I make squidGuard

From: Pål Baltzersen <pal.baltzersen@dont-contact.us>
Date: Thu, 16 Mar 2000 10:02:52 +0100

squidGuard is not ready for db-3.x.x use db-2.7.7

By the way squidGuard has its own mailing list now.
Send "subscribe" to "squidguard-request@squidguard.org"
or look at http://www.squidguard.org/

Pål

----------------------------------------------------------------
Addr: Pål Baltzersen, ElTele Øst AS, Fredrik Selmers vei 2, Postboks 6299 Etterstad, N-0603 Oslo.
Phone: +47 23 18 10 00 Direct: +47 23 18 11 74
fax: +47 23 18 10 01 Mobile: +47 93 08 11 74
mail: pb@ost.eltele.no pal.baltzersen@ost.eltele.no

>>> Hazy Xu <hxu@mail.ustc.edu.cn> 16:28:58 15.03.00 >>>
Hi,

After I installed BerkeleyDB.3.0, I began to install squidGuard.
But when I type "make", the system reported:

bash-2.03$ make
making all in squidGuard-1.1.2
making all in src
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB.3.0/include -DHAVE_CONFIG_H -g
-O2 -I/u
sr/local/BerkeleyDB.3.0/include -c main.c
In file included from main.c:19:
sg.h:180: parse error before `DB_INFO'
sg.h:180: warning: no semicolon at end of struct or union
sg.h:185: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `main.o'
Current working directory /home/squid/src/squidGuard-1.1.2/src
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-2.03$

There is a type named DB_INFO without a predefine. And when I run:
        grep DB_INFO /usr/local/BBerkeleyDB.3.0/include/*
I find there is no define about DB_INFO either.

I add a line below to ./src/sg.h , but it seems not work.
#define DB_INFO int

What can I do? I need help.

--Hazy
Received on Thu Mar 16 2000 - 02:07:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:16 MST