From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 23:55:27 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D436E1065673 for ; Tue, 13 Jul 2010 23:55:27 +0000 (UTC) (envelope-from rbyrnes@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 662338FC15 for ; Tue, 13 Jul 2010 23:55:27 +0000 (UTC) Received: by eyh6 with SMTP id 6so994934eyh.13 for ; Tue, 13 Jul 2010 16:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=ibR6uYYBCQp4wNHM3ujMNS9kPy27DA2n+vIRlsng60M=; b=cWE9aEzfTS+uNnR983RnlNK9z5q4mPnDTkLqJNJo7e9j/bnpbBfu2JqgT43+O39moD ql5++xpgalnbHJVyvx5nVpKHA/WPonRamfQtSrZGk48i606dy6jad2j5bfqHBvMzvl7S fpH1GTZfPccPM0vOCOnTvSYLQkdTJCBicDc/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=lUaossxp4qO+0NHKUITmxRNd4n/zmsssGsq9YIbcDh3/QQTxnricag2qrsOsmmopH8 s/4rsrPMZTY2m7KYSyioGqZPfifJRYqZtglPei1KYfuGqRNF59zzJtl0Sa22ik59JH1H xFa8td1vf6AGIDlr+T8sdP/L6CDwz1vK9mhQw= Received: by 10.213.33.197 with SMTP id i5mr4429310ebd.45.1279065326046; Tue, 13 Jul 2010 16:55:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.53.10 with HTTP; Tue, 13 Jul 2010 16:55:05 -0700 (PDT) In-Reply-To: References: From: Rob Byrnes Date: Wed, 14 Jul 2010 09:55:05 +1000 Message-ID: To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: rrdtool and perl 5.10 not playing nice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2010 23:55:28 -0000 On 13 July 2010 22:59, Rob Byrnes 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