Skip Menu |

This queue is for tickets about the SNMP CPAN distribution.

Report information
The Basics
Id: 21305
Status: rejected
Priority: 0/
Queue: SNMP

People
Owner: Nobody in particular
Requestors: kane [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 5.0301001
Fixed in: (no value)



Subject: SNMP does not declare it's prerequisites properly
SNMP seems to depend on Net::SNMP according to this diagnostic: if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") { die "You need to install net-snmp first (I can't find net-snmp-config)"; } the proper way to handle this is to declare your prerequisites in the PREREQ_PM section of your Makefile.PL, and not to die. A simple WriteMakefile( ... PREREQ_PM => { 'Net::SNMP' => 0 }, ... ); will do the trick. -- Jos
The SNMP perl module has no dependency on Net::SNMP...that is a different implementation. It does however have a dependency on teh Net-SNMP library found at http://www.net-snmp.org/ enjoy, G