> I have installed Net-SNMP-5.1.2-1 for windows ....
> .... ActiveState Perl 5.8.4 ... [and] Net-SNMP.ppd

> > I have specified the @INC path for locating SNMP.pm 
> (C:\Perl\site\lib\Net).

Hmmm....
  I'm not particularly familiar with ActiveState perl, or this
particular PPD package.  But I'm somewhat suspicious as to whether
this is actually our SNMP perl support.  A file "Net/SNMP.pm" would
more usually refer to the perl module "Net::SNMP", which is *not*
the same as this software.
    (It's "the other" perl SNMP module!)

> But I have an error : "Undefined subroutine &SNMP::initMib"
> I don't undersand because in the help it specifies all Mib functions
> in SNMP.pm (where we can find the function initMib)

Yes - that's correct.

> and when I search where can be the defenition of the function initMib,

It's defined in the file SNMP.pm

> it is in the netsnmp.dll in the directory C:\usr\bin
> and it isn't in the file SNMP.pm

It certainly should be - line 134 or so.
But that file would normally be found as 'SNMP/SNMP.pm' rather
than 'Net/SNMP.pm'.  Which is why I suspect you may be looking
at a different perl module.

Dave


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to