rrdtool doesnt work with perl
It says it does and that it should but it doesnt
Updated by Chris Jordan over 10 years ago
- Assignee set to OI SFW
- Difficulty set to Medium
- Tags set to perl
The problem appears to be that rrdtool was not compiled to build the Perl modules required for Perl support, or else they were not included in the package for some reason:
bash-4.0$ pkg contents rrdtool | grep pm
So if I try and run one of the rrdtool example perl scripts I get an error:
Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at /usr/share/rrdtool/examples/4charts.pl line 6.
BEGIN failed--compilation aborted at /usr/share/rrdtool/examples/4charts.pl line 6.
If I use pkgtool to build rrdtool from spec-files-extra then it does build and install those modules, so perhaps it's easy to fix?
bash-4.0$ pkg contents SFErrdtool | grep pm
Updated by Ken Mays about 10 years ago
- Due date set to 2011-09-14
- Status changed from Feedback to Closed
- Target version set to oi_151_stable
- Estimated time set to 8.00 h
- Difficulty changed from Medium to Bite-size
Matthew - The RRD*.pm perl modules are optional - not a requirement for the Oracle-based IPS packages. This can be a feature request but we already provide this in the SFE-extras spec. Closing ticket.