Linux - ERROR al Instalar SQUID-GUARD

 
Vista:
sin imagen de perfil

ERROR al Instalar SQUID-GUARD

Publicado por Frank Crew (22 intervenciones) el 11/05/2003 00:53:26
Saludos amigos

Ayudenme con este problema que me esta dando cuando quiero instalar squid-guard. en Redhat 9
ya descarge la version 1.2.0
ademas de la libreria que necesita Berkeley _DB

pero cuando ejecuto el script

./Configure

me aparece el siguiente error.

* 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)

diciendo que no esta instalada la libreria
si esta el problema es que esta en un directorio

/usr/local/BerkeleyDB.4.1

y no se como arreglar esto.
por favor ayudenme, es urgente
.
gracias

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:ERROR al Instalar SQUID-GUARD

Publicado por Mariano Pelizzari (140 intervenciones) el 11/05/2003 11:06:29
Proba con alguno de estos
./configure --with-db=/usr/local/BerkeleyDB4.1
./configure --with-db-lib=/usr/local/BerkeleyDB4.1

Espero sirva. Slds.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

RE:ERROR al Instalar SQUID-GUARD

Publicado por frank crew (22 intervenciones) el 11/05/2003 22:18:09
Amigo he realizado lo que tu me dices pero nada
sigo teniendo el mismo error

esta esla estructura de /local/src/squidGuard-1.2.0

[root@localhost squidGuard-1.2.0]# ls
ANNOUNCE CONFIGURATION.html COPYING GPL Makefile.in samples
CHANGELOG configure doc INSTALL mkinstalldirs src
config.log configure.in FAQ INSTALL.html README test
CONFIGURATION contrib FAQ.html install-sh README.html

ahora ejecuto

[root@localhost squidGuard-1.2.0]# ./configure --with-db=/usr/local/BerkeleyDB.4.1
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... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
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)

[root@localhost squidGuard-1.2.0]#

y tengo el mismo error.
por favoir amigo ayudane a ver como resulvo este problema
gracias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:ERROR al Instalar SQUID-GUARD

Publicado por Mariano Pelizzari (140 intervenciones) el 12/05/2003 07:13:34
Fijate lo que te dice entre parentecis: (default is /usr/local/BerkeleyDB).
Eso signiica que va ha buscar las librerias barkeley en ese directorio. Si no existe o tiene otro nombre tens que poner el directorio en donde este instalado berkeley.

Instalaste bien berkeley? no te dio ningun error cuando hiciste ./configure? Probaste con --with-db-lib=/usr/local/BerkeleyDB.4.1 ?
Si todo esto esta bien, no deberia darte error, y la verdad no sabria como ayudarte.

Slds.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar
sin imagen de perfil

RE:ERROR al Instalar SQUID-GUARD

Publicado por Frank Crew (22 intervenciones) el 12/05/2003 15:56:17
Amigo ya pude instalar el Squid-Guard desde un paquete RPM.
Ayudame ahora con la configuracion del archivo squidGuard.conf.
Para realizar el bloqueo de algunas PCs para que solo puedan entran en
una
sola pagina,
Ejemplo

192.188.60.224 que solo puedra accesar www.superban.gov.ec.

te adjunto el contenido del archivo SQUIDGUARD.CONF, para que me des una

mano.

#
# CONFIG FILE FOR SQUIDGUARD
#

dbhome /var/state/squidGuard
logdir /var/log/squid

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

time workhours {
weekly mtwhf 09:00 - 12:00
weekly mtwhf 13:00 - 17:00
}

#
# REWRITE RULES:
#

#rew dmz {
# s@://admin/@://admin.foo.bar.no/@i
# s@://foo.bar.no/@://www.foo.bar.no/@i
#}

#
# SOURCE ADDRESSES:
#

src admin {
userlist admin
}

src other {
ip 192.168.1.0/24
}

#
# DESTINATION CLASSES:
#

dest non_business_related {
urllist non_bus_rel_urls
domainlist non_bus_rel_domains
redirect
302:http://Proxy/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientident=%i&clientgroup=%s&destinationgroup=%t&url=%u
}

dest blacklist {
urllist blacklist_urls
domainlist blacklist_domains
redirect
302:http://Proxy/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientident=%i&clientg
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:ERROR al Instalar SQUID-GUARD

Publicado por Mariano Peilzzari (140 intervenciones) el 13/05/2003 01:43:42
Tanto no puedo ayudarte. Si no le estaria quitando el trabajo a todos los especilistas en Linux. Te aconsejo que to pongas a leer como se configura al squid o que contrates a una conocedor de Linux. Slds.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:ERROR al Instalar SQUID-GUARD

Publicado por lalalal (1 intervención) el 07/10/2011 09:10:03
amigo es facil buscate dentro del disco de rhel e instala el siguiente paquete

mount /dev/cdrom /mnt
cd /mnt/Server
ls -la | grep 'db4-devel'
rpm -i db4-devel-4.3.29-9.fc6.i386.rpm

./configure --with-db=/usr/local/BerkeleyDB.4.1





suerte!
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar