Click to See Complete Forum and Search --> : So many errors when I typed the "make" and "make install" command


Potatoatwork
11-10-2004, 11:13 PM
Dear people,

I tried to install squidguard. However after using the comman "make" it generated many errors, which is shown below. I typed ./configure before that which was ok, but the make command turned out to have errors.

[root@matrix 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/BerkeleyDB/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB/include -c main.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB/include -c sgLog.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB/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] Error 1
make[1]: Leaving directory `/root/squidGuard-1.2.0/src'
make: *** [all] Error 1



anyone knows what is wrong ?
Thanks in advance!

Choozo
11-11-2004, 02:57 AM
Looks like the source has bugs. Found any patch for that version of the source, or tried another version?

Downloading and building under the "/root" directories is not quite 'kosher' either.

Potatoatwork
11-11-2004, 11:23 PM
Thanks Choozo,

I tried many other source version but still having make error.

mhacleth
11-11-2004, 11:44 PM
I tried squidGuard too. It compiled fine, but it did not do its job of filtering. After configuring it right (according to their docs), it failed my testing. I opened up a site (which is in one of their blacklist and voila! I was able to browse it!) hmmm....

bottom line? dump it and install dansguardian instead. :D

Choozo
11-12-2004, 02:51 AM
Looks like this problem is no longer a problem according to this (http://www.justlinux.com/forum/showthread.php?s=&threadid=135260) thread?