From owner-freebsd-questions@freebsd.org Tue Nov 8 15:27:56 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12A2AC3614E for ; Tue, 8 Nov 2016 15:27:56 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from mx.box-hlm-03.niklaas.eu (mx.box-hlm-03.niklaas.eu [IPv6:2a02:2770:15:0:21a:4aff:feaa:e902]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3583181 for ; Tue, 8 Nov 2016 15:27:55 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (mysql2.box-local.klaas [10.77.5.3]) by mx.box-hlm-03.niklaas.eu (Postfix) with ESMTPSA id DE4354F99E6 for ; Tue, 8 Nov 2016 16:27:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=niklaas.eu; s=default; t=1478618865; bh=s9HPvIBA8FKhSrngPBw6drVNfk+gbIOF7lDmAJn66Vg=; h=Date:From:To:Subject:Reply-To; b=fKLQO6MIRMs3EnVtQA3cl4IF8sIzAzsghoCOOnTbQxy9wBZlRGvJpXLnR84gT5fe8 a4sWzkCf9sMrtty8/Jn191s4ck94cIjy8Ys2hpNOY2opi2e3it2JmXvgchB1/KNDZS wtjnVyjMexm0oJJ3n+ZSjfBjww25/QMmDe58Z8QQ= Date: Tue, 8 Nov 2016 16:27:44 +0100 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org Subject: After perl upgrade: "Can't locate XML/Parser.pm in @INC" Message-ID: <20161108152744.uqbrbhfbkctd5n7l@box-hlm-03.niklaas.eu> Reply-To: stdin@niklaas.eu Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20161003 (1.7.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2016 15:27:56 -0000 I upgraded perl and afterwards I got Can't locate XML/Parser.pm in @INC when executing some munin plugin: Can't locate XML/Parser.pm in @INC (you may need to install the XML::Parser module) (@INC contains: /usr/local/lib/perl5/site_perl/mach/5.20 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.20/mach /usr/local/lib/perl5/5.20 /usr/local/lib/perl5/site_perl/5.20 /usr/local/lib/perl5/site_perl/5.20/mach .) at /usr/local/etc/munin/plugins/varnish4_bad line 99. But it's there: $ pkg info | grep ^p5- | grep -i parser p5-HTML-Parser-3.72 Perl5 module for parsing HTML documents p5-TimeDate-2.30_2,1 Perl5 module containing a better/faster date parser for absolute dates p5-XML-Parser-2.44 Perl extension interface to James Clark's XML parser, expat $ find /usr/local/lib/perl5/ -iname parser /usr/local/lib/perl5/5.20/TAP/Parser /usr/local/lib/perl5/site_perl/mach/5.20/auto/HTML/Parser /usr/local/lib/perl5/site_perl/mach/5.24/auto/XML/Parser /usr/local/lib/perl5/site_perl/mach/5.24/XML/Parser /usr/local/lib/perl5/5.24/TAP/Parser $ pkg info | grep ^perl perl5-5.20.3_15 Practical Extraction and Report Language perl5.24-5.24.1.r4 Practical Extraction and Report Language Did I miss something when upgrading perl? Niklaas