Installing NetSNMP::agent on Cygwin

"Roche, Christian (EXT-Other - MA/Rabat)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <58455B395C3D6D4CAB7D4112220DD25A0439EEE1@DEMUEXC027.nsn-intra.net>
Hi all,

I have written a small SNMP probe using NetSNMP::agent that's working fine on CentOS 5.5. I installed the required Perl modules as RPM packages using yum (net-snmp-perl-5.3.2.2-9.el5_5.1.x86_64.rpm). Now I would like to be able to test it on Windows under Cygwin, so I tried the following

-----------------
> perl -M CPAN -e shell

cpan[10]> install NetSNMP::agent
Running install for module 'NetSNMP::agent'
Running make for H/HA/HARDAKER/NetSNMP-agent-5.0401.tar.gz
  Has already been unwrapped into directory xxx/cpan/build/NetSNMP-agent-5.0401-L8WCaQ
  '/usr/bin/perl Makefile.PL' returned status 512, won't make
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
-----------------

When running the installation maually:

-----------------
>perl Makefile.PL
You need to install net-snmp first (I can't find net-snmp-config) at Makefile.PL line 98.
-----------------

I have tried intalling both DTOWN/Net-SNMP-5.2.0 and DTOWN/Net-SNMP-v6.0.1 to no avail. No config file seem to be present anywhere.

What am I supposed to do here?

As a side note I would like to report that the situation with SNMP under CPAN is very confusing, here is a list of modules that may look related to what I'm looking for:

-----------------
Module    NSNMP                  (KRAGEN/NSNMP-0.5.tar.gz)
Module    NSNMP::Agent           (KRAGEN/NSNMP-0.5.tar.gz)
Module    NSNMP::Mapper          (KRAGEN/NSNMP-0.5.tar.gz)
Module    NSNMP::Simple          (KRAGEN/NSNMP-0.5.tar.gz)

Module    Net::SNMP              (DTOWN/Net-SNMP-v6.0.1.tar.gz)
and a whole bunch of others

Module    NetSNMP::ASN           (HARDAKER/NetSNMP-ASN-5.0401.tar.gz)
Module    NetSNMP::OID           (HARDAKER/NetSNMP-OID-5.0401.tar.gz)
Module    NetSNMP::TrapReceiver  (HARDAKER/NetSNMP-TrapReceiver-5.0401.tar.gz)
Module    NetSNMP::agent         (HARDAKER/NetSNMP-agent-5.0401.tar.gz)

Module    SNMP                   (HARDAKER/SNMP-5.0401.tar.gz)
and a whole lot of submodules by many different people.
-----------------

Quite confusing indeed. I would greatly appreciate if somebody could write a few lines about it clarifying the issue. This would definitely be handy in a FAQ of some sort.

Thanks for your help!
Chris

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.