Hi
I'm trying to install squidalyser-0.2.55 in my fedora core6 system. I have installed squid stables and squidguard to block certain sites. Now I want to monitor the squid hits and the users using internet through my squid server. I installed SARG which worked fine. Even the real-time reports are also fine.
Now I wish to use squidalyser-0.2.55 for monitoring the squid trafic. But I'm facing some problems.
When I run ./squidalyser.pl i get this error
Code:
[root@phone cgi-bin]# ./squidalyser.pl
Can't locate GD/Graph/bars.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./squidalyser.pl line 72.
BEGIN failed--compilation aborted at ./squidalyser.pl line 72.
[root@phone cgi-bin]#
I also got some problem installing the perl modules.
Code:
GD.c:4454: warning: ISO C90 forbids mixed declarations and code
GD.c:4459: error: âfontâ undeclared (first use in this function)
GD.c: In function âXS_GD__Font_heightâ:
GD.c:4481: error: âGD__Fontâ undeclared (first use in this function)
GD.c:4481: error: expected â;â before âfontâ
GD.c:4482: warning: ISO C90 forbids mixed declarations and code
GD.c:4487: error: âfontâ undeclared (first use in this function)
make: *** [GD.o] Error 1
LDS/GD-2.35.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
LDS/GD-2.35.tar.gz : make NO
cpan[2]>
When I tried to reinstall the GD alo I'm getting some errors.
Code:
GD.c:4403: error: âfontâ undeclared (first use in this function)
GD.c: In function âXS_GD__Font_offsetâ:
GD.c:4425: error: âGD__Fontâ undeclared (first use in this function)
GD.c:4425: error: expected â;â before âfontâ
GD.c:4426: warning: ISO C90 forbids mixed declarations and code
GD.c:4431: error: âfontâ undeclared (first use in this function)
GD.c: In function âXS_GD__Font_widthâ:
GD.c:4453: error: âGD__Fontâ undeclared (first use in this function)
GD.c:4453: error: expected â;â before âfontâ
GD.c:4454: warning: ISO C90 forbids mixed declarations and code
GD.c:4459: error: âfontâ undeclared (first use in this function)
GD.c: In function âXS_GD__Font_heightâ:
GD.c:4481: error: âGD__Fontâ undeclared (first use in this function)
GD.c:4481: error: expected â;â before âfontâ
GD.c:4482: warning: ISO C90 forbids mixed declarations and code
GD.c:4487: error: âfontâ undeclared (first use in this function)
make: *** [GD.o] Error 1
Can anyone suggest some solutions ?