Sorry... Just realised you were trying to recompile the RPM and not compile the SquidGuard source.
My apologies. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jay Turner > Sent: Monday, 31 May 2004 8:41 AM > To: Liew Toh Seng; [EMAIL PROTECTED] > Subject: RE: squid guard for RHEL WS 3 > > > I have also found that squidGuard will not compile on RHEL WS 3. > > I believe some code changes were required to make it compile. > > This site has pre-built RPM's available for download along with source if > required. > > I tried to install it, and it worked for me, but I haven't used it in a > production environment as yet. > > http://dag.wieers.com/packages/squidguard/ > > Regards > Jay > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Liew Toh Seng > > Sent: Friday, 28 May 2004 3:21 PM > > To: [EMAIL PROTECTED] > > Subject: squid guard for RHEL WS 3 > > > > > > Hi > > i have problem to recompile the squidguard for RHEL WS 3 > > > > gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -O2 -g > > -pipe -march=i386 -mcpu=i686 -I/usr/local/BerkeleyDB/include -c main.c > > gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -O2 -g > > -pipe -march=i386 -mcpu=i686 -I/usr/local/BerkeleyDB/include -c sgLog.c > > gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -O2 -g > > -pipe -march=i386 -mcpu=i686 -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: 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: too few arguments to function > > make[1]: *** [sgDb.o] Error 1 > > make[1]: Leaving directory `/usr/src/redhat/BUILD/squidGuard-1.2.0/src' > > make: *** [all] Error 1 > > error: Bad exit status from /var/tmp/rpm-tmp.12111 (%build) > > > > > > RPM build errors: > > Bad exit status from /var/tmp/rpm-tmp.12111 (%build) > > > > is there anybody know how to solve this problem ? > > Please Help... anyway thanks a lot. > > ------------------------------------------------------------------------ > > ------- > > Best Regards > > Liew Toh Seng > > Icq No: >> 36835809 << > > MSN: >> [EMAIL PROTECTED] << > > * .--. > > * |o_o | > > * |:_/ | > > * // > > * (| | ) > > * /'\_ _/` The Internet Solution Company > > * \___)=(___ My Directory Sdn Bhd > > > > > > > > > > > > >
