OVH Cloud OVH Cloud

Problème Berkeley sur configure Squidguard

3 réponses
Avatar
runan
Bonjour,

Je voudrais coupler mon squid avec squidguard. J'ai
installé Berkeley 4.2 (dans /usr/local) comme requise sans problème.
Maintenant quand je fais lance le ./configure de squiguard j'ai ça ... :

[root@proxy squidGuard-1.2.0]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for lynx... false
checking for perl... /usr/bin/perl
checking for db_version in -ldb... no

** The Berkley DB library is required for squidGuard
to compile. Get it from http://www.sleepycat.com
use --with-db=DIR or --with-db-lib=DIR to specify
its location. (default is /usr/local/BerkeleyDB)

J'ai bien trouvé des personnes qui ont eu le même problème que moi mais
il n'y avait aucune réponse :-(

MD MD MD MD :-)

3 réponses

Avatar
no_spam
On Thu, 25 Nov 2004 10:48:26 +0100, runan wrote:

Bonjour,

Je voudrais coupler mon squid avec squidguard. J'ai
installé Berkeley 4.2 (dans /usr/local) comme requise sans problème.
Maintenant quand je fais lance le ./configure de squiguard j'ai ça ... :

[ squidGuard-1.2.0]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for lynx... false
checking for perl... /usr/bin/perl
checking for db_version in -ldb... no

** The Berkley DB library is required for squidGuard
to compile. Get it from http://www.sleepycat.com
use --with-db=DIR or --with-db-lib=DIR to specify
its location. (default is /usr/local/BerkeleyDB)

J'ai bien trouvé des personnes qui ont eu le même problème que moi mais
il n'y avait aucune réponse :-(


Ca semble pourtant clair: il te manque la libdb, du moins la version
nécessaire pour cette compil.
Tu auras plus de détail dans le config.log

Avatar
TiChou
Dans le message <news:41a5aa6b$0$27329$,
*runan* tapota sur f.c.o.l.configuration :

Bonjour,


Bonjour,

Je voudrais coupler mon squid avec squidguard. J'ai installé
Berkeley 4.2 (dans /usr/local) comme requise sans problème.


Où ça exactement dans /usr/local ?

Maintenant quand je fais lance le ./configure de squiguard j'ai ça ... :


[...]

checking for db_version in -ldb... no

** The Berkley DB library is required for squidGuard
to compile. Get it from http://www.sleepycat.com
use --with-db=DIR or --with-db-lib=DIR to specify
its location. (default is /usr/local/BerkeleyDB)

J'ai bien trouvé des personnes qui ont eu le même problème que moi mais il
n'y avait aucune réponse :-(


Comme dit par no_spam, le message est très clair. Lancez la commande
'./configure' en spécifiant le chemin vers la « Berkley DB library » avec l'
option --with-db ou l'option --with-db-lib.

--
TiChou

Avatar
runan
exact, il faut prendre une version 2 et non une version 4 ...

merci du coup de main