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...
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.
line 49 in /usb/bin/indexmaker (it's a perl script) is:
use MRTG_lib "2.090017";
MRTG_lib.pm starts off with...
package MRTG_lib;
require 5.005;
use strict;
use SNMP_util "0.86";
use vars qw($OS $SL $PS @EXPORT @ISA $VERSION %mrtgrules);
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));' reports
/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,
ok, I'm lost...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.