Discussion:
Can't install Net-SNMP Perl package on Windows 7 system
Fishbeck, John
2010-03-22 20:42:20 UTC
Permalink
All,

I did my best to search the bugs database, FAQs and list archives for an answer to this, but if it's in there somewhere, I missed it. Feel free to direct me to the appropriate resource if so.

I have successfully used the Net-SNMP software with the Perl package in Perl scripts on Windows XP SP 3 systems. I am now attempting to use the package on my Windows 7 system, and the Perl NetSNMP package is failing to install with the error message "ppm install failed: The PPD does not provide code to install for this platform".

I've downloaded and installed the NetSNMP 5.0 build. The install of the base SNMP code appears successful, as the "snmptranslate -IR -Td IF-MIB::linkDown" post-install test does produce the correct output.

I am in the /usr/perl directory when I run the 'ppm install NetSNMP.ppd' command, the NetSNMP.ppd file does seem to correctly reference the location of the code files relative to the /usr/perl directory (<CODEBASE HREF="x86/NetSNMP.tar.gz" />), the /usr/perl/x86 directory does exist, and the NetSNMP.tar.gz is present in the /usr/perl/x86 directory and is valid.

So am I to conclude that while the base Net-SNMP package is compatible with Windows 7, the Perl module for interfacing to the Perl scripting environment is not?

Any assistance would be appreciated.

Regards,

John Fishbeck
Michigan State University Physical Plant
East Lansing MI
Bart Van Assche
2010-03-23 11:36:15 UTC
Permalink
Post by Fishbeck, John
I did my best to search the bugs database, FAQs and list archives for an
answer to this, but if it’s in there somewhere, I missed it. Feel free to
direct me to the appropriate resource if so.
I have successfully used the Net-SNMP software with the Perl package in
Perl scripts on Windows XP SP 3 systems. I am now attempting to use the
package on my Windows 7 system, and the Perl NetSNMP package is failing to
install with the error message “ppm install failed: The PPD does not provide
code to install for this platform”.
I’ve downloaded and installed the NetSNMP 5.0 build. The install of the
base SNMP code appears successful, as the “snmptranslate -IR -Td
IF-MIB::linkDown” post-install test does produce the correct output.
I am in the /usr/perl directory when I run the ‘ppm install NetSNMP.ppd’
command, the NetSNMP.ppd file does seem to correctly reference the location
of the code files relative to the /usr/perl directory (<CODEBASE
HREF="x86/NetSNMP.tar.gz" />), the /usr/perl/x86 directory does exist, and
the NetSNMP.tar.gz is present in the /usr/perl/x86 directory and is valid.
So am I to conclude that while the base Net-SNMP package is compatible with
Windows 7, the Perl module for interfacing to the Perl scripting environment
is not?
Please consider switching to Net-SNMP 5.5 -- version 5.0 is no longer
maintained.

Regarding the actual problem: Perl ppd packages can only be used in
combination with the Perl version they have been generated for. So you have
probably installed another Perl version than the Perl version indicated in
the ppd description.

Bart.

Loading...