Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2002 13:44:34 -0700
From:      Steve Carter <scarter@pobox.com>
To:        f-stable <freebsd-stable@FreeBSD.ORG>
Cc:        Vivek Khera <khera@kcilink.com>
Subject:   Re: FreeBSD perl/warnings.pm
Message-ID:  <20020418134434.G55022@pobox.com>
In-Reply-To: <20020418204022.GA9169@moo.holy.cow>; from parv@pair.com on Thu, Apr 18, 2002 at 04:40:22PM -0400
References:  <20020417150748.R32334@pobox.com> <bulk.37213.20020418125630@hub.freebsd.org> <20020418204022.GA9169@moo.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help
* parv <parv@pair.com> [020418 13:38]:
> in message <bulk.37213.20020418125630@hub.freebsd.org>,
> wrote Vivek Khera thusly...
> >
> > >>>>> "SC" == Steve Carter <scarter@pobox.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020418134434.G55022>