w3ntp has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I have just installed ActiveState Perl 5.8 on a Windows box and would like to write Perl Programs to send SNMP V1 traps. Is there a way to load Net::SNMP onto my Windows box without having to load all the Crypt::DES stuff and all the prereqs? Also I have a secure LAN that needs Net::SNMP module. I know I can load modules via PPM, but not sure where to down load this for windows to put onto flashdrive to transfer over to other Windows boxes? Any advice most welcome. thanks W3NTP

Replies are listed 'Best First'.
Re: Active State Net::SNMP Question
by randyk (Parson) on Oct 26, 2005 at 15:11 UTC

    The question about whether or not the module can be used without the prereqs is probably best answered by the author. However, the fact that, for example, Crypt::DES is listed as a prerequisite in Makefile.PL, and also that this module is use()d in some of the associated Net::SNMP::* modules, makes one suspect that these prerequisites are considered mandatory.

    As for installing this package and its prerequisites on other boxes, there's a few options, depending on whether or not they have network access.

    • if unrestricted network access is available, you could add a repository within the ppm shell that contains these packages; one such repository is the uwinnipeg one.
    • if the network access is restricted, you could set up a local package repository, as described in A guide to installing modules for Win32.
    • if no network access is available, you can make up a zipped file containing the ppd and tar.gz files making up the ppm distribution; there's examples on ActiveState's site for how to do this.

      Ok, Thanks for the reply w3ntp