Installing the NetSNMP module for MSWin32

From Net-SNMP Wiki
Jump to: navigation, search
Good Answer

This is a Good Answer article. It was likely created as a response to a question on a Net-SNMP Mailing List and written up here for others to see. It likely covers material not yet in the FAQ or in the Tutorial but may someday be moved there

Question

How do I install the NetSNMP.ppd package for MSWin32?

Why do I get "ppm install failed: The PPD does not provide code to install for this platform" when I run the command ppm install NetSNMP.ppd?

Answer

Modify the NetSNMP.ppd package so that the NAME attribute of the ARCHITECTURE tag contains the version of ActivePerl currently installed on your system.

For example, if the command perl -v returns:

This is perl, v5.10.0 built for MSWin32-x86-multi-thread ...

then you would modify the <ARCHITECTURE> tag in NetSNMP.ppd as follows:

<ARCHITECTURE NAME="MSWin32-x86-multi-thread-5.10" />

Executing the command ppm install NetSNMP.ppd should now work.