Subject: | Unble to install with RRDTool 1.2.x |
I attempted to install RRD::Threshold on CentOS4 Linux with RRDTool
1.2.23, and it failed. I expect this might have something to do with
RD::Threshold expecting the RRD file format from an earlier version of
RRDTool.
cpan[1]> install RRD:Threshold
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Tue, 04 Mar 2008 11:30:59 GMT
Running install for module 'RRD::Threshold'
Running make for R/RS/RSOLIV/rrdpoller-1.5.0.tar.gz
CPAN: LWP::UserAgent loaded ok (v2.033)
CPAN: Time::HiRes loaded ok (v1.86)
Fetching with LWP:
ftp://mirror.hiwaay.net/CPAN/authors/id/R/RS/RSOLIV/rrdpoller-1.5.0.tar.gz
CPAN: YAML loaded ok (v0.66)
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for
/root/.cpan/sources/authors/id/R/RS/RSOLIV/rrdpoller-1.5.0.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
rrdpoller-1.5.0/
rrdpoller-1.5.0/rrdpoller
rrdpoller-1.5.0/contrib/
rrdpoller-1.5.0/contrib/rrd.monitor
rrdpoller-1.5.0/Query.pm
rrdpoller-1.5.0/debian/
rrdpoller-1.5.0/debian/librrd-threshold-perl.copyright
rrdpoller-1.5.0/debian/rules
rrdpoller-1.5.0/debian/control
rrdpoller-1.5.0/debian/rrdpoller.copyright
rrdpoller-1.5.0/debian/changelog
rrdpoller-1.5.0/MANIFEST
rrdpoller-1.5.0/TODO
rrdpoller-1.5.0/rrdpollerd
rrdpoller-1.5.0/META.yml
rrdpoller-1.5.0/test.pl
rrdpoller-1.5.0/Threshold.pm
rrdpoller-1.5.0/INSTALL
rrdpoller-1.5.0/SIGNATURE
rrdpoller-1.5.0/README
rrdpoller-1.5.0/Makefile.PL
CPAN: File::Temp loaded ok (v0.20)
CPAN.pm: Going to build R/RS/RSOLIV/rrdpoller-1.5.0.tar.gz
Welcome to the rrdpoller installation script. There is several way to
call me. You can pass some argument to change some Makefile generation
behaviors:
perl Makefile.PL [OPTIONS]
OPTIONS:
QUIET This option removes all help text like this one.
DEFAULTS This option will choose all default values instead of
asking you when a choice is possible.
Do you want to continue ? [Y/n]: Y
If you intend to use the network feature of rrdpoller, there is some
additionnal module required. They aren't needed to use rrdpoller as a
local only tool. If you don't want the installation process to complain
about missing modules reply yes to this question.
Do you want to ignore modules dependancy for network feature [y/N]: y
Checking if your kit is complete...
Looks good
Writing Makefile for rrdpoller
cp Threshold.pm blib/lib/RRD/Threshold.pm
cp Query.pm blib/lib/RRD/Query.pm
cp rrdpollerd blib/script/rrdpollerd
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/rrdpollerd
cp rrdpoller blib/script/rrdpoller
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/rrdpoller
Manifying blib/man1/rrdpollerd.1
Manifying blib/man1/rrdpoller.1
Manifying blib/man3/Threshold.3pm
Manifying blib/man3/Query.3pm
RSOLIV/rrdpoller-1.5.0.tar.gz
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..27
ok 1 - use RRD::Query;
ok 2 - use RRD::Threshold;
gpg: Signature made Mon Feb 28 12:37:07 2005 EST using DSA key ID 39C24F41
gpg: Can't check signature: public key not found
ok 3 - Valid signature
ok 4 - Create test RRD file /tmp/LVOz7zgNAn/test.rrd
ok 5 - feed RRD test file
ok 6 - update RRD test file one more time
ok 7 - Test RRD::Query, creator
ok 8 - list() datasources
not ok 9 - fetch() current value
# Failed test ' fetch() current value'
# at test.pl line 93.
# got: undef
# expected: '1'
not ok 10 - fetch() past value
# Failed test ' fetch() past value'
# at test.pl line 95.
# got: '4'
# expected: '10'
ok 11 # skip Math::RPN isn't installed
ok 12 - Test RRD::Threshold, creator
Current value is NaN at blib/lib/RRD/Threshold.pm line 209.
# Looks like you planned 27 tests but only ran 12.
# Looks like you failed 2 tests of 12 run.
# Looks like your test died just after 12.
make: *** [test_dynamic] Error 255
RSOLIV/rrdpoller-1.5.0.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RSOLIV/rrdpoller-1.5.0.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
RSOLIV/rrdpoller-1.5.0.tar.gz : make_test NO
cpan[2]> quit
Lockfile removed.
# rpm -a -q | grep -i rrd
rrdtool-devel-1.2.23-1.el4.rf
perl-rrdtool-1.2.23-1.el4.rf
rrdtool-1.2.23-1.el4.rf
# uname -a
Linux voxel1.ha-hosting.com 2.6.16.43-xenU #4 SMP Sat Mar 3 01:10:29 UTC
2007 i686 i686 i386 GNU/Linux
# perl -v
This is perl, v5.8.8 built for i386-linux-thread-multi
Copyright 1987-2006, 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.