salam,
I am using squid as a proxy server in my cent os 5 machine. I have downloaded and install squidGuard-1.4 using ./configure which it successfully do.
THe problem is when I use make command it give me an error beacuse may it it is not compatible with BerkeleyDB. For
[root@localhost squidGuard-1.4]# make
making all in squidGuard-1.4
make[1]: Entering directory `/home/squidGuard-1.4/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:123: incompatible type for argument 4 of indirect function call
sgDb.c:123: too many arguments to function
sgDb.c:129: incompatible type for argument 4 of indirect function call
sgDb.c:129: too many arguments to function
make[1]: *** [sgDb.o] Error 1
make[1]: Leaving directory `/home/squidGuard-1.4/src'
make: *** [all] Error 1
[root@localhost squidGuard-1.4]#
I am sure that it is due to patch missing .For that purpose I have download the patch "squidGuard-1.4-patch-20091015" and then extraxt it (untar) it.
THe patch shows only these two files
[root@localhost squidGuard-1.4-patch-20091015]# ls
Readme.Patch-20091015 sgLog.c
I does not know how to apply the patch with currect squidGuard ? KIndly guuide me.
thanks
garden
Problem in installing squidGuard patch.
-
- Company Havaldaar Major
- Posts: 165
- Joined: Mon Jun 09, 2003 9:02 am
- Location: Karachi