From owner-freebsd-questions@FreeBSD.ORG Mon Aug 2 14:41:20 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 6990E106564A for ; Mon, 2 Aug 2010 14:41:20 +0000 (UTC) (envelope-from jontheil@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id DED5C8FC21 for ; Mon, 2 Aug 2010 14:41:19 +0000 (UTC) Received: by fxm13 with SMTP id 13so1789485fxm.13 for ; Mon, 02 Aug 2010 07:41:16 -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:cc:content-type; bh=o2EN0cjU1h16Uzy0Evro1jeixmSuA1pAUtPIaO1yc/o=; b=P03EQGH6Zw/P+be3qzPWwQkAxPccOiZByipAQiV/sWgfhXfqOFlcpnOFrW5tb9pZcL CwItw3VmrJbXJ100K67o6Ic+OD+1nwxDGJkE0cfI5S+SEfvUbSbq+RQlPcBguxjoIx3r lU5fTyv3hIVsxKiW1X5cU+Nr/mxdBJ0o694EA= 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 :cc:content-type; b=wfR3bpMob8YYlRc5i1t65qxFXcTlnVg0FZ4MiOcxv9WA823Q6AuxFg2mXGuh82RUiZ waM3Sj+nmBfkp1MVfKFDNtArc3g9so9CD6vYBUIxYSmE6Z/CH87c7T7lOVAO72+JCzE/ /U8zLB2EStewtCwd0veyg0XIug+btse03Axp4= Received: by 10.223.108.66 with SMTP id e2mr5952662fap.39.1280760076188; Mon, 02 Aug 2010 07:41:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.16.151 with HTTP; Mon, 2 Aug 2010 07:40:46 -0700 (PDT) In-Reply-To: <4C56AB4C.3010401@pp.dyndns.biz> References: <4C56AB4C.3010401@pp.dyndns.biz> From: Jon Theil Nielsen Date: Mon, 2 Aug 2010 16:40:46 +0200 Message-ID: To: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 14:41:20 -0000 2010/8/2 Morgan Wesstr=F6m > 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=3D148914 > >> > >> 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 per= l > 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=3Dports/149016 > > Regards > Morgan > Hi Morgan, Thanks a lot! I'll try it out as soon as possible. If it worked for you, I guess it will work for me too. Strange, though, that so few people report this problem. Maybe they just live happily with the "old" perl version. :-) Regards, Jon --=20 Jon Theil Nielsen