Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2010 22:59:43 +1000
From:      Rob Byrnes <rbyrnes@gmail.com>
To:        questions@freebsd.org
Subject:   rrdtool and perl 5.10 not playing nice
Message-ID:  <AANLkTil5J0KLIFSQMeCOUs-SgMkGt2IerYzmcp9Ifsau@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I have seen this issue on two machines now, but this particular
instance is on a newly built one.

I run munin to collect and graph stats on my network from this box.
net-mgmt/munin-master depends on perl and rrdtool. I installed perl
5.10 from ports and then installed munin-master. rrdtool was built as
a dependency with the default port knobs:

root@aylee /usr/ports/databases/rrdtool # make showconfig
===> The following configuration options are available for rrdtool-1.4.3:
     DEJAVU=off "Use DejaVu fonts (requires X11)"
     MMAP=on "Use mmap in rrd_update"
     PERL_MODULE=on "Build PERL module"
     PYTHON_MODULE=off "Build PYTHON bindings"
     RUBY_MODULE=off "Build RUBY bindings"


I'm seeing this error from munin:

Can't locate RRDs.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.10.1/BSDPAN
/usr/local/lib/perl5/site_perl/5.10.1/mach
+/usr/local/lib/perl5/site_perl/5.10.1
/usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at
+/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Utils.pm line 22.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
line 18.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/UpdateWorker.pm
line 18.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.10.1/Munin/Master/Update.pm line 17.
Compilation failed in require at /usr/local/share/munin/munin-update
line 13.
BEGIN failed--compilation aborted at
/usr/local/share/munin/munin-update line 13.

RRDs.pm does exist:

root@aylee /root # find /usr/local/lib/perl5 -name RRDs.pm
/usr/local/lib/perl5/site_perl/5.10.1/Log/Log4perl/Appender/RRDs.pm

Not knowing anything of perl, what can I do to fix this?  It has only
occurred since upgrading to/installing perl 5.10

cheers,
Rob



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTil5J0KLIFSQMeCOUs-SgMkGt2IerYzmcp9Ifsau>