FAQ:Perl 01

From Net-SNMP Wiki
Jump to: navigation, search

Where can I get the perl SNMP package?

Joe Marzot's excellent Perl 'SNMP' module, is included in the Net-SNMP source releases. It can be found located in the perl/SNMP subdirectory of the source tree. This is accompanied by a number of Perl modules grouped together under the NetSNMP namespace.

The basic SNMP module (though not the NetSNMP additions), can also be found at any Comprehensive Perl Archive Network (CPAN) mirror site, under modules/by-module/SNMP. To find the CPAN site nearest you, please see http://www.cpan.org/SITES.html.

These Perl modules need to be used in conjunction with a compatible version of the Net-SNMP library. Consult the README file in the SNMP Perl distribution to find out which version of the library it needs.

  1. What is the purpose of the Perl SNMP module?
  2. Where can I get the Perl SNMP package?
  3. How do I install the Perl SNMP modules?
  4. But compiling this fails! Why?
  5. Compiling the Perl module works OK, but 'make test' fails. Why?
  6. Why can't mib2c (or tkmib) locate SNMP.pm?
  7. Why can't mib2c (or tkmib) load SNMP.so?
  8. Why can't tkmib locate Tk.pm?
  9. Why does your RPM complain about missing Perl modules?
  10. I've got a problem with the Net-SNMP module. Can you help?