Mantis - rrdtool
Viewing Issue Advanced Details
5188 other major always 2014-07-17 16:40 2014-07-18 19:22
keziacp  
dam  
normal  
closed  
no change required  
none    
none  
0005188: rrdtool doesnt work with perl modules
The packege of rrdtool doesnt work with the perl modules on Solaris 11.
/opt/csw/bin/perl -e 'use RRDs; print "OK\n";'
Can't locate RRDs.pm in @INC (@INC contains: /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

Another:
root@nagios:/opt/csw/bin# perl -MRRDs -le 'print q(ok!)'
Can't locate RRDs.pm in @INC (@INC contains: /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 .).
BEGIN failed--compilation aborted.

Neither ngshared:
/opt/csw/bin/perl -e 'use ngshared; print "OK\n";'
Can't locate ngshared.pm in @INC (@INC contains: /opt/csw/lib/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/share/perl/site_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw /opt/csw/share/perl/csw /opt/csw/lib/perl/5.10.1 /opt/csw/share/perl/5.10.1 .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.




Issue History
2014-07-17 16:40 keziacp New Issue
2014-07-17 16:53 keziacp Note Added: 0010866
2014-07-17 16:53 keziacp Note Added: 0010867
2014-07-17 16:53 keziacp Note Added: 0010868
2014-07-17 16:53 keziacp Note Deleted: 0010868
2014-07-17 16:54 keziacp Note Deleted: 0010867
2014-07-17 17:11 keziacp Note Added: 0010869
2014-07-17 17:11 keziacp Note Added: 0010870
2014-07-17 17:11 keziacp Note Deleted: 0010870
2014-07-17 17:16 keziacp Note Added: 0010871
2014-07-17 23:13 dam Status new => assigned
2014-07-17 23:13 dam Assigned To => dam
2014-07-17 23:15 dam Note Added: 0010872
2014-07-17 23:15 dam Status assigned => feedback
2014-07-18 15:03 keziacp Note Added: 0010874
2014-07-18 19:22 dam Status feedback => closed
2014-07-18 19:22 dam Resolution open => no change required

Notes
(0010866)
keziacp   
2014-07-17 16:53   
Platform:
Solaris 11
Sun SPARC T3
(0010869)
keziacp   
2014-07-17 17:11   
perl -v

This is perl, v5.10.1 (csw-5.10.1*) built for sun4-solaris-thread-multi

Copyright 1987-2009, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, [^] the Perl Home Page.


perldoc -l RRDs
No documentation found for "RRDs".
(0010871)
keziacp   
2014-07-17 17:16   
RRDtool 1.4.8 Copyright 1997-2013 by Tobias Oetiker <tobi@oetiker.ch>
               Compiled May 23 2013 10:37:39

Usage: rrdtool [options] command command_options
Valid commands: create, update, updatev, graph, graphv, dump, restore,
                last, lastupdate, first, info, fetch, tune,
                resize, xport, flushcached

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages
(0010872)
dam   
2014-07-17 23:15   
You need to install the Perl bindings for rrdtool explicitly: CSWpm-rrdtool
  https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/pkg/rrdtool/trunk/Makefile#75 [^]

ngshared ist not part of rrdtool. I hope this fixes your issue.
(0010874)
keziacp   
2014-07-18 15:03   
This worked =D Thanks a milion