Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2010 09:55:05 +1000
From:      Rob Byrnes <rbyrnes@gmail.com>
To:        questions@freebsd.org
Subject:   Re: rrdtool and perl 5.10 not playing nice
Message-ID:  <AANLkTimhlse5J2EgneTT2uRZa27yO7CnjZA3CnTVyI3C@mail.gmail.com>
In-Reply-To: <AANLkTil5J0KLIFSQMeCOUs-SgMkGt2IerYzmcp9Ifsau@mail.gmail.com>
References:  <AANLkTil5J0KLIFSQMeCOUs-SgMkGt2IerYzmcp9Ifsau@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 July 2010 22:59, Rob Byrnes <rbyrnes@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@aylee /usr/ports/databases/rrdtool # make showconfig
> =3D=3D=3D> The following configuration options are available for rrdtool-=
1.4.3:
> =A0 =A0 DEJAVU=3Doff "Use DejaVu fonts (requires X11)"
> =A0 =A0 MMAP=3Don "Use mmap in rrd_update"
> =A0 =A0 PERL_MODULE=3Don "Build PERL module"
> =A0 =A0 PYTHON_MODULE=3Doff "Build PYTHON bindings"
> =A0 =A0 RUBY_MODULE=3Doff "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? =A0It 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 e=
xist
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



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