shriken has asked for the wisdom of the Perl Monks concerning the following question:
This problem is part of some Perl code which supports an MRTG (multi-router traffic grapher) installation. I think I broke this when I recently upgraded to perl 5.8.8. I'm getting...
line 49 in /usb/bin/indexmaker (it's a perl script) is: use MRTG_lib "2.090017"; MRTG_lib.pm starts off with...Can't locate package $VERSION for @MRTG_lib::ISA at /usr/bin/indexmake +r line 49 main::BEGIN() called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49 eval {...} called at /usr/bin/../lib/mrtg2/MRTG_lib.pm line 49 Can't locate package $VERSION for @MRTG_lib::ISA at (eval 6) line 1.
and the vars module (in my /usr/local/lib/perl5/5.8.8/) has: our $VERSION = '1.01'; a runtime peek at @INC with perl -e 'print(join(",\n",@INC));' reportspackage MRTG_lib; require 5.005; use strict; use SNMP_util "0.86"; use vars qw($OS $SL $PS @EXPORT @ISA $VERSION %mrtgrules);
ok, I'm lost.../usr/local/lib/perl5/5.8.8/i686-linux, /usr/local/lib/perl5/5.8.8, /usr/local/lib/perl5/site_perl/5.8.8/i686-linux, /usr/local/lib/perl5/site_perl/5.8.8, /usr/local/lib/perl5/site_perl,
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: problem: "can't locate package $VERSION"
by NetWallah (Canon) on Apr 25, 2007 at 16:21 UTC | |
Re: problem: "can't locate package $VERSION"
by Anonymous Monk on Apr 26, 2007 at 03:10 UTC |
Back to
Seekers of Perl Wisdom