From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 13:24:18 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 929E6106564A for ; Tue, 13 Jul 2010 13:24:18 +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 301388FC08 for ; Tue, 13 Jul 2010 13:24:17 +0000 (UTC) Received: by eyh6 with SMTP id 6so868609eyh.13 for ; Tue, 13 Jul 2010 06:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=2/beFWkC+DE2wqczv+g6IkJDShxj6sNv+huwmktIpV4=; b=m8KfHuSvDczAtaU/lH4v/nje1JL/2yq+IIT+ekE90asnhbqV1UjEujneLxsAmxaT4t 4yKRflWIiWPQa1tUT12Johe8EaEJzi9AYptnWV51RZxNXfPvIh9zaOQVKt3aRwc7SWMR mr/ePY9cx2Hc5VHpmTKFdp7y3NU1F8RYCSdd4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=jkHOXTISBo7cRnfDpEJ5ZL3iRrAyhHtVWWEqnrOGuUgfA2CtRqCMhH3qj0iQ2g1Hjf 6SaCePrO+YuF0aaaEFKjNXve+561IPfYi99tbUbO9KkjRBj4S7oMrNWbpv7c4tR9yDR1 jv8Owenmx2zkex6vuthlz0pwPuVwjuBM3iklg= Received: by 10.213.34.3 with SMTP id j3mr11676948ebd.65.1279026003242; Tue, 13 Jul 2010 06:00:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.53.10 with HTTP; Tue, 13 Jul 2010 05:59:43 -0700 (PDT) From: Rob Byrnes Date: Tue, 13 Jul 2010 22:59:43 +1000 Message-ID: To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: 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 13:24:18 -0000 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