Difference between revisions of "Installing the NetSNMP module for MSWin32"
(→Question) |
(→Question) |
||
Line 5: | Line 5: | ||
How do I install the NetSNMP.ppd package for MSWin32? | 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''' | + | 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 == | == Answer == |
Revision as of 12:40, 12 June 2008
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 (with 5 registered patches, see perl -V for more detail) ...
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.