Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Installing SNMP in Strawberry Perl

by joe_tseng (Novice)
on Sep 13, 2012 at 11:31 UTC ( #993464=note: print w/ replies, xml ) Need Help??


in reply to Re: Installing SNMP in Strawberry Perl
in thread Installing SNMP in Strawberry Perl

I downloaded the PPD file from the URL you provided and I also downloaded an archive the PPD was looking for (the Strawberry Perl PPM doesn't seem to like using repos), and I got it installed.

However I still got the same message saying the Net-SNMP library can't be found.

FYI the results of the install are as follows:

G:\perl>ppm install G:\downloads\Net-SNMP.ppd
Installing package 'G:\downloads\Net-SNMP.ppd'...
Use of chdir('') or chdir(undef) as chdir() is deprecated at G:/perl/perl/vendor/lib/PPM.pm line 393.
Installing G:\perl\perl\site\lib\Net\SNMP.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Dispatcher.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Message.pm
Installing G:\perl\perl\site\lib\Net\SNMP\MessageProcessing.pm
Installing G:\perl\perl\site\lib\Net\SNMP\PDU.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Security.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Security\Community.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Security\USM.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport\IPv4.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport\IPv6.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport\IPv4\TCP.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport\IPv4\UDP.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport\IPv6\TCP.pm
Installing G:\perl\perl\site\lib\Net\SNMP\Transport\IPv6\UDP.pm
Installing G:\perl\perl\bin\snmpkey
Installing G:\perl\perl\bin\snmpkey.bat

PS - I also had to download Net-SNMP-v6.0.1-PPM516.tar.gz


Comment on Re^2: Installing SNMP in Strawberry Perl
Re^3: Installing SNMP in Strawberry Perl
by joe_tseng (Novice) on Sep 13, 2012 at 14:03 UTC
    After some more googling I don't think I can use portable Strawberry Perl for what I want to do. None of the other modules supports SNMPv3 (which is a requirement for me), and the one that does has external dependencies that I can't put on my flash key. I'm stuck sharing space on a RHEL server. Oh well.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://993464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-12-18 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (43 votes), past polls