Date: Mon, 2 Aug 2010 16:40:46 +0200 From: Jon Theil Nielsen <jontheil@gmail.com> To: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= <freebsd-questions@pp.dyndns.biz> Cc: freebsd-questions@freebsd.org Subject: Re: mrtg-2.16.2_6,1 does not run with perl-5.12.1_1 Message-ID: <AANLkTi=hkqrBww-OMDGVdEpQSNiefNR07d%2BHCUvpvT8c@mail.gmail.com> In-Reply-To: <4C56AB4C.3010401@pp.dyndns.biz> References: <AANLkTimViayGmsowRUT_wUu%2BgEK8r5bQZCVEJHYGkb3t@mail.gmail.com> <AANLkTi=456jkGcG6pRn1yYXHR9r%2BktuPSc7_8kwT89PC@mail.gmail.com> <4C56AB4C.3010401@pp.dyndns.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/8/2 Morgan Wesstr=F6m <freebsd-questions@pp.dyndns.biz> > On 2010-08-02 10:49, Jon Theil Nielsen wrote: > > 2010/8/2 Jon Theil Nielsen <jontheil@gmail.com> > > > >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=hkqrBww-OMDGVdEpQSNiefNR07d%2BHCUvpvT8c>