From owner-freebsd-stable Thu Apr 18 13:44:45 2002 Delivered-To: freebsd-stable@freebsd.org Received: from good.gulp.org (mail.gulp.org [204.245.54.140]) by hub.freebsd.org (Postfix) with ESMTP id F38B937B417 for ; Thu, 18 Apr 2002 13:44:35 -0700 (PDT) Received: (from atom@localhost) by good.gulp.org (8.11.6/8.11.6) id g3IKiYZ69347; Thu, 18 Apr 2002 13:44:34 -0700 (MST) (envelope-from aToM@pobox.com) X-Authentication-Warning: good.gulp.org: atom set sender to aToM@pobox.com using -f Date: Thu, 18 Apr 2002 13:44:34 -0700 From: Steve Carter To: f-stable Cc: Vivek Khera Subject: Re: FreeBSD perl/warnings.pm Message-ID: <20020418134434.G55022@pobox.com> References: <20020417150748.R32334@pobox.com> <20020418204022.GA9169@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020418204022.GA9169@moo.holy.cow>; from parv@pair.com on Thu, Apr 18, 2002 at 04:40:22PM -0400 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * parv [020418 13:38]: > in message , > wrote Vivek Khera thusly... > > > > >>>>> "SC" == Steve Carter writes: > > > > SC> 2002-04-16 16:45:01 -- Can't locate warnings.pm in @INC (@INC contains: > > SC> /usr/local/bin/../lib/mrtg2 /usr/local/bin /usr/libdata/perl/5.00503/mach > > SC> /usr/libdata/perl/5.00503 > > SC> /usr/local/lib/perl5/site_perl/5.005/i386-freebsd > > SC> /usr/local/lib/perl5/site_perl/5.005 .) at (eval 6) line 1. > > > > as you discovered, warnings.pm is part of perl 5.6.1 (as in "use > > warnings"). nothing is wrong. the application should probably have a > > "require 5.6.0" in it sine it is using perl 5.6 features. > > i think that will still generate the same warning/error message. if > "use 5.6.0;" is used (before "use warnings;") otoh, program will > carp out (early) due to unavailability of perl 5.6.1 -- not (due to > unavailability) of warnings module -- due to difference in "use" & > "require" functions. OK ... sheepish ... I have been informed of what my problem is, namely I wasn't using the latest port although I thought I was. My cvsup was pointing at a cvsup server that isn't supplying the latest updates (cvsup13) so I wasn't using the latest mrtg port. I now point cvsup elsewhere and I've installed mrtg-2.9.18.p7 rather than mrtg-2.9.18.p4 and everything is fine now. I guess this was a known problem and it's been fixed. Thank you to all for your help ... >;) -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message