Difference between revisions of "FAQ:Perl 01"

From Net-SNMP Wiki
Jump to: navigation, search
 
(Move FAQ text to a template page)
 
Line 1: Line 1:
 
= Where can I get the perl SNMP package? =  
 
= Where can I get the perl SNMP package? =  
  
Joe Marzot's excellent perl SNMP module, which requires the ucd-snmp
+
{{FAQ:Perl_01}}
library, is now included in the ucd-snmp source release.  It's
+
located in the perl/SNMP subdirectory of the ucd-snmp source tree.
+
 
+
It can also be found at any Comprehensive Perl Archive Network
+
(CPAN) site mirror in modules/by-module/SNMP.  To find the CPAN site
+
nearest you, please see http://www.cpan.org/SITES.html.
+
 
+
With the v5 release of the Net-SNMP suite, this is now accompanied by
+
a number of perl modules grouped together under the NetSNMP namespace.
+
 
+
Consult the README file in the SNMP perl module distribution to find
+
out what version of the ucd-snmp library it needs to be linked against.
+
  
 
     [[FAQ:Perl]]
 
     [[FAQ:Perl]]
 
     {{FAQ:Perl}}
 
     {{FAQ:Perl}}

Latest revision as of 17:52, 28 December 2006

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.

   FAQ:Perl
   
  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?