[rrd-users] Can't locate RRDs.pm in @INCI

graham_hunt at ntlworld.com graham_hunt at ntlworld.com
Tue Mar 10 03:27:25 CET 2009


Hi 

New to rrdtool/cricket! I am getting this error "Can't locate RRDs.pm in @INCI"

I have installed perl modules, rrdtool, make site-perl-install etc..

[cricket at localhost http-performance]$ cd ~ 
[cricket at localhost ~]$ cricket/compile
[10-Mar-2009 01:55:32 ] Log level changed from warn to info.
[10-Mar-2009 01:55:32 ] Starting compile: Cricket version 1.0.5 (2004-03-28)
[10-Mar-2009 01:55:32 ] Config directory is /home/cricket/cricket-config
[10-Mar-2009 01:55:32 ] Processed 3 nodes (in 3 files) in 0 seconds.
[cricket at localhost ~]$ cricket/collector /http-performance 
Can't locate RRDs.pm in @INC (@INC contains: /home/cricket/cricket/lib /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 cricket/collector line 32.
BEGIN failed--compilation aborted at cricket/collector line 32.
[cricket at localhost ~]$ ls
cricket  cricket-1.0.5  cricket-1.0.5.tar  cricket-config
[cricket at localhost ~]$ cd cricket-config
[cricket at localhost cricket-config]$ ls
config.db  Defaults  http-performance
[cricket at localhost cricket-config]$ cd http-performance
[cricket at localhost http-performance]$ ls
Defaults  urls
[cricket at localhost http-performance]$ more urls
#target  cricket-home
#    short-desc = "The Cricket Homepage"
#    url = "http://www.munitions.com/~jra/test-file.txt"

target  www.cnn.com
    url = "http://www.cnn.com"
[cricket at localhost http-performance]$ 


[root at localhost ~]# find / -name RRDs.pm -print
/sysmon/rrdbuild/rrdtool-1.3.6/bindings/perl-shared/blib/lib/RRDs.pm
/sysmon/rrdbuild/rrdtool-1.3.6/bindings/perl-shared/RRDs.pm
/sysmon/rrdtool-1.3.6/bindings/perl-shared/RRDs.pm
/usr/local/rrdtool-1.3.6/lib/perl/5.8.8/i386-linux-thread-multi/RRDs.pm

[cricket at localhost cricket]$ perl -v

This is perl, v5.8.8 built for i386-linux-thread-multi

Installed on Centos 5.2 have also tried on Centos 4.4.

Is this rrdtool/perl/path/cricket problem?

Any ideas would be much appreciated!

Many thanks

Graham



More information about the rrd-users mailing list