SquidGuard problem z instalacja

Serwery i sieci oparte na Slackware, wszelkiego rodzaju usługi, troubleshooting.

Moderatorzy: Moderatorzy, Administratorzy

aphex
Użytkownik
Posty: 31
Rejestracja: 2007-02-15, 15:51

SquidGuard problem z instalacja

Post autor: aphex »

Witam

Zainstalowałem wcześniej Oracle DB do katalogu /usr/local/squidGuard/.

Podałem katalogi do w/w bibliotek podczas konfigurowaniu zrodel squidG

Kod: Zaznacz cały

root@serwer:~/squidGuard-1.2.0# ./configure --with-db=/usr/local/squidGuard --with-db-lib=/usr/local/squidGuard/lib --with-db-inc=/usr/local/squidGuard/include --with-sg-config=/usr/etc/squidGuard.conf --with-sg-logdir=/storage/squidguard/logs --with-sg-dbhome=/storage/squidguard/dateb
komenda make

Kod: Zaznacz cały

root@serwer:~/squidGuard-1.2.0# make
making all in squidGuard-1.2.0
make[1]: Entering directory `/root/squidGuard-1.2.0/src'
making all in src
gcc -I.. -I. -I. -I/usr/local/squidGuard/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/squidGuard/include -c main.c
gcc -I.. -I. -I. -I/usr/local/squidGuard/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/squidGuard/include -c sgLog.c
gcc -I.. -I. -I. -I/usr/local/squidGuard/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/squidGuard/include -c sgDb.c
sgDb.c: In function `sgDbInit':
sgDb.c:101: warning: passing arg 2 of pointer to function from incompatible pointer type
sgDb.c:101: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
sgDb.c:101: error: too few arguments to function
sgDb.c:107: warning: passing arg 2 of pointer to function from incompatible pointer type
sgDb.c:107: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
sgDb.c:107: error: too few arguments to function
make[1]: *** [sgDb.o] Błąd 1
make[1]: Leaving directory `/root/squidGuard-1.2.0/src'
make: *** [all] Błąd 1
Czy ktoś zna sie na tym i mógłby mi pomoc.

Byłbym bardzo wdzięczny
Pzdr.
m4rc0
Użytkownik
Posty: 11
Rejestracja: 2006-04-08, 13:21

Re: SquidGuard problem z instalacja

Post autor: m4rc0 »

Witam
Mialem podobny problem , u mnie rozwiazaniem bylo zainstalowanie starszej wersji DB Berkeley.

Ja swojego konfugurowalem z takimi parametrami

./configure --prefix=/usr --with-db-lib=/usr/local/BerkeleyDB/lib \
--with-sg-config=/etc/squid/squidGuard.conf \
--with-sg-logdir=/var/squid/logs \
--with-sg-dbhome=/var/squid/squidGuard/db
Ostatnio zmieniony 2007-03-07, 08:07 przez m4rc0, łącznie zmieniany 1 raz.
aphex
Użytkownik
Posty: 31
Rejestracja: 2007-02-15, 15:51

Re: SquidGuard problem z instalacja

Post autor: aphex »

Poradzilem sobie z ta instalacja instalujac nowsza wersje bo okazalo sie ze ta nie wspolpracuje z nowymi bibliotekami oracle.

Ale teraz po uruchomieniu squidGuarda nic sie nie dzieje stoi w tym miejscu.

Kod: Zaznacz cały

root@serwer:~/squidGuard-1.2.0p3# squidGuard


Bez liczenia domains i urllists

eh
aphex
Użytkownik
Posty: 31
Rejestracja: 2007-02-15, 15:51

Re: SquidGuard problem z instalacja

Post autor: aphex »

Powiem jeszcze ze podczas instalacji gdy wykonalem komende make install wyskoczyl mi taki blad

Kod: Zaznacz cały

root@serwer:~/squidGuard-1.2.0p3# make install
Installing squidGuard
cp src/squidGuard /usr/local/bin ;
Installing configuration file
chmod: nie ma dostępu do `/usr/local/squidGuard/squidGuard.conf': Nie ma takiego pliku ani katalogu
make: *** [install-conf] Błąd 1
Utworzylem z palca ten plik ktory chcial i po tym komenda make install pokazala mi

Kod: Zaznacz cały

root@serwer:~/squidGuard-1.2.0p3# touch /usr/local/squidGuard/squidGuard.conf
root@serwer:~/squidGuard-1.2.0p3# make install
Installing squidGuard
cp src/squidGuard /usr/local/bin ;
Installing configuration file
Configuration file found. Not changing anything
Mozliwe ze cos nie tak zrobilem ?? Podczas konfiguracji squidGuarda podalem mu sciezke do pliku conf ale to calkiem w innym miejscu jest /usr/etc/squidGuard.conf
oleksiej
Użytkownik
Posty: 3
Rejestracja: 2008-07-16, 08:37

berkeleydb slackware

Post autor: oleksiej »

Mialem zainstalowana paczke db42-4.2.52-i486-3 i przy konfiguracji i instalacji squidguard upominal sie o BerkeleyDB. Co mam zainstalowac i skad wziac, najlepiej paczke pod slackware 12.2 by odpalic squidguarda?
dzieki z gory
oliwa
Użytkownik
Posty: 6
Rejestracja: 2009-01-23, 16:29

Re: SquidGuard problem z instalacja

Post autor: oliwa »

PO dodaniu pakietu db42-4... przy make squidgurad mam to:
make[1]: *** [y.tab.c] Error 141
make[1]: Leaving directory `/usr/src/squidGuard-1.4/src'
make: *** [all] Error 1
Nie wiem o co biega
please help
Pajaczek
Użytkownik
Posty: 1439
Rejestracja: 2006-08-03, 13:16
Lokalizacja: Winny Gród

Re: SquidGuard problem z instalacja

Post autor: Pajaczek »

Co jest kawałek wcześniej?
oleksiej
Użytkownik
Posty: 3
Rejestracja: 2008-07-16, 08:37

Re: SquidGuard problem z instalacja

Post autor: oleksiej »

making all in squidGuard-1.4
make[1]: Entering directory `/usr/src/squidGuard-1.4/src'
making all in src
make[1]: *** [y.tab.c] Error 141
make[1]: Leaving directory `/usr/src/squidGuard-1.4/src'
make: *** [all] Error 1

to wszystko co mi wyswietla
Awatar użytkownika
Hannibal
Moderator w st. spocz.
Posty: 1644
Rejestracja: 2004-06-08, 16:03
Lokalizacja: Łódź

Re: SquidGuard problem z instalacja

Post autor: Hannibal »

To tylko strzał - zainstaluj bison'a.
[size=75]Hannibal@current@2.6.X[/size]
oleksiej
Użytkownik
Posty: 3
Rejestracja: 2008-07-16, 08:37

Re: SquidGuard problem z instalacja

Post autor: oleksiej »

niestety nie, paczke bison-2.3-i486-1 mam zainstalowana w systemie
ODPOWIEDZ