[rrd-users] Re: not able to compile rrdtools

Christian, Ed EChristian at corp.ptd.net
Mon Dec 4 18:45:56 MET 2006


> But now I have the next problem with perl.
> 
> Writing 
> /usr/local/rrdtool-1.2.15/lib/perl/5.8.8/i686-linux/auto/RRDp/
> .packlist
> Appending installation info to 
> /usr/local/rrdtool-1.2.15/lib/perl/5.8.8/i686-linux/perllocal.pod
> 
> And when I call my mailgraph.pl it cannot find the RRDs. 
> Seems they are not
> installes in the perl-locations.
> 
> Can't locate RRDs.pm in @INC (@INC contains: 
> /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 
> /usr/lib/perl5/site_perl/5.8.8/i686-linux 
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.6.1 
> /usr/lib/perl5/site_perl .) at ./mailgraph.pl line 209.
> BEGIN failed--compilation aborted at ./mailgraph.pl line 209
> 

1.) find RRDs.pm and get the path to that file
2.) add the following to your Perl script (before "use RRDs;") :
use lib '<PATH TO RRDs.pm GOES HERE>';

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list