Al,

> to:
> use lib qw(/export/appl/rrdtool-1.2.23/lib/perl);
> use lib qw(/export/appl/smokeping-2.2.3/lib);

this is good

> However, when I looked back at the rrdtool install log, it had actually
> placed the stuff one level deeper:
> [EMAIL PROTECTED] [/export/appl/rrdtool-1.2.23/lib/perl/5.8.7]
> # ls
> ./             ../            RRDp.pm        sun4-solaris/
>
> Changing the one line corrected the problem:
> use lib qw(/export/appl/rrdtool-1.2.23/lib/perl/5.8.7)

this is not necessary ... since perl should be looking in the
subdirectory with its version automatically ... even better, it
will look into the architecture specific directory too ... so you
can have rrd modules for multiple architectures and perl versions
install in the same tree, putting just

use lib qw(/export/appl/rrdtool-1.2.23/lib/perl);

into your script and run the same script on different versions of
perl and different cpus ...

cheers
tobi


-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to