I can not find DB_INFO,when I make squidGuard

From: Hazy Xu <[email protected]>
Date: Wed, 15 Mar 2000 22:58:43 +0800 (CST)

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 Wed Mar 15 2000 - 08:20:21 MST

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