Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Installing SNMP in Strawberry Perl

by syphilis (Canon)
on Sep 13, 2012 at 03:24 UTC ( #993357=note: print w/ replies, xml ) Need Help??


in reply to Installing SNMP in Strawberry Perl

PPM packages for that module, and its dependencies, are available from the bribes repo.

For a ppm install, I think you just need to:

ppm repo add bribes ppm install http://www.bribes.org/perl/ppm/Net-SNMP.ppd
I'm assuming that your Strawberry Perl has a functional ppm utility - which I think is the case for the 5.16 builds, at least.

Cheers,
Rob


Comment on Re: Installing SNMP in Strawberry Perl
Download Code
Replies are listed 'Best First'.
Re^2: Installing SNMP in Strawberry Perl
by joe_tseng (Novice) on Sep 13, 2012 at 11:31 UTC

    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

      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://993357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2015-07-31 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls