perl如何使用SNMP?

perl如何使用SNMP?

perl如何使用SNMP?
我在Linux里面安装SNMP-4.2.0,老出错:[root@test20 SNMP-4.2.0]# perl Makefile.PL
Where are the ucd-snmp include files? [/usr/local/include]
Where is the ucd-snmp library installed? [/usr/lib]
WARNING: MAN3PODS takes a hash reference not a string/number.
Please inform the author.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lsnmp
Can't use string ("SNMP") as a HASH ref while "strict refs" in use at /usr/local/lib/perl5/5.8.6/ExtUtils/MM_Unix.pm line 503.
问题出在哪里,对linux没有什么研究,所以不太懂。
很久前装过。 记得是你要先装 Net-SNMP (http://www.net-snmp.org/) 然后装 perl 的 Net::SNMP (前面的一个接口)