rrdtool and perl 5.10 not playing nice
Rob Byrnes
rbyrnes at gmail.com
Tue Jul 13 23:55:28 UTC 2010
On 13 July 2010 22:59, Rob Byrnes <rbyrnes at gmail.com> wrote:
> 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 at 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 at 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
More info - while using portmaster -f rrdtool to forcibly reinstall
rrdtool, I get these messages:
pkg_delete: package 'rrdtool-1.4.3' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
munin-master-1.4.4
pkg_delete: file '/usr/local/lib/perl5/5.10.1/man/man3/RRDs.3.gz' doesn't exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/RRDs.so' doesn't
exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/RRDs.bs' doesn't
exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs/.packlist'
doesn't exist
pkg_delete: file '/usr/local/lib/perl5/site_perl/5.10.1/mach/RRDs.pm'
doesn't exist
pkg_delete: file
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs' doesn't exist
pkg_delete: unable to completely remove directory
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/RRDs'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
so it appears that these files are not actually being installed -
could this be a bug in rrdtool or the port?
cheers,
Rob
More information about the freebsd-questions
mailing list