[rrd-users] Re: RRDtool FAQ ?

Benarson Behajaina Benarson.Behajaina at swh.sk
Fri Aug 11 10:24:34 MEST 2000


steve rader wrote:
> 
>  > From: Benarson Behajaina
>  > I have 2 questions:
>  > 1. Where can I find FAQ about RRDTOOL ?
> 
> I donno.
> 
>  > 2. How do I install RRDp and RRDs modules ?
>  >    I copied RRDp.pm and RRDs.pm to /usr/lib/perl5/5.00503
>  >    but after executing a perl script containing "use RRDp;"
>  >    I've got the following error:
>  > 
>  >    linux%/usr/local/rrdtool/contrib/log2rrd/log2rrd.pl ~/mrtg.log ~/tmp
>  > 
>  >    Can't locate loadable object for module RRDs in @INC 
>  >    (@INC contains: /usr/lib/perl5/5.00503 ...)
> 
> ...it's more simpler to just use
> 
>  use lib '/usr/local/rrdtool-1.0.25/lib/perl';
>  use RRDs;

Thanks for your answer, I tried this and it works.

Later I did the "make site-perl-install" to install the
perl modules, with this, there's no need to add 'use lib ...'
to every perl script using "use Module".

Thanks again,

Benarson Behajaina 

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list