From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 11:26:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C140106566C for ; Mon, 2 Aug 2010 11:26:08 +0000 (UTC) (envelope-from freebsd-questions@pp.dyndns.biz) Received: from smtprelay-b12.telenor.se (smtprelay-b12.telenor.se [62.127.194.21]) by mx1.freebsd.org (Postfix) with ESMTP id D68C58FC1C for ; Mon, 2 Aug 2010 11:26:07 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id 8C0AAE96B6 for ; Mon, 2 Aug 2010 13:26:06 +0200 (CEST) X-SENDER-IP: [85.226.59.55] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AthjAOtHVkxV4js3PGdsb2JhbACaLQaFWgwBAQEBNS2/HoU5BA X-IronPort-AV: E=Sophos;i="4.55,302,1278280800"; d="scan'208";a="113772922" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb1.telenor.se with ESMTP; 02 Aug 2010 13:26:06 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.4/8.14.4) with ESMTP id o72BQ4Oi093740; Mon, 2 Aug 2010 13:26:04 +0200 (CEST) (envelope-from freebsd-questions@pp.dyndns.biz) Message-ID: <4C56AB4C.3010401@pp.dyndns.biz> Date: Mon, 02 Aug 2010 13:26:04 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100727 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: Jon Theil Nielsen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: mrtg-2.16.2_6,1 does not run with perl-5.12.1_1 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: Mon, 02 Aug 2010 11:26:08 -0000 On 2010-08-02 10:49, Jon Theil Nielsen wrote: > 2010/8/2 Jon Theil Nielsen > >> Hi list >> >> After upgrading perl according to UPDATING, I cannot use mrtg anymore. The >> error message is: >> >> Bareword "P_DETACH" not allowed while "strict subs" in use at >> /usr/local/lib/perl5/site_perl/5.12.1/MRTG_lib.pm line 1172. >> Compilation failed in require at /usr/local/bin/mrtg line 89. >> BEGIN failed--compilation aborted at /usr/local/bin/mrtg line 89. >> >> I filled a PR on this but haven't seen any answers/solutions: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=148914 >> >> Am I the only one having this problem? >> >> If the port needs upgrading (as suggested in my PR), but this does not >> happen, how can I fix it myself? >> >> Cheers, >> Jon >> -- >> Jon Theil Nielsen >> > > Hi again, > > Hope I'm not beeing a pain... > > But I wolud really like to hearing from *anyone* who has upgradeded perl and > has mrtg installed. Even if is working whtout problems. So, at least, I know > that I have to look for a specific problem on my own server. > I forgot to mention that I'm running 8.1 Stable. > > Cheers, > Jon > Hi Jon. You're not alone. :-) I ran into the same issue and it has also been reported on Gentoo (which I use too). The solution is mrtg 2.16.4 and until the ports tree is updated there's a patch here you can apply manually which worked for me: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149016 Regards Morgan