FAQ:Perl 02
From Net-SNMP Wiki
How do I install the Perl SNMP modules?
Assuming you have a reasonably new (and properly configured) perl system, this should be simply:
cd perl (for 5.0.x)
or
cd perl/SNMP (for 4.2.x)
perl Makefile.PL (press RETURN when prompted for host and community) make make test make install (probably as root)
Note that with the 5.0 release line, there are additional SNMP-related
perl modules that should probably be installed as well. These can also
be found under the 'perl'
subdirectory.
At the very least, install the 'default_store'
module.
This is not necessary with the 4.2.x releases.
FAQ:Perl
- What is the purpose of the Perl SNMP module?
- Where can I get the Perl SNMP package?
- How do I install the Perl SNMP modules?
- But compiling this fails! Why?
- Compiling the Perl module works OK, but 'make test' fails. Why?
- Why can't mib2c (or tkmib) locate SNMP.pm?
- Why can't mib2c (or tkmib) load SNMP.so?
- Why can't tkmib locate Tk.pm?
- Why does your RPM complain about missing Perl modules?
- I've got a problem with the Net-SNMP module. Can you help?