Re: Fw: Unable to build Net-Snmp with embedded perl
Bart Van Assche <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAO+b5-oPkGxSi947DGjLjwkEuHqzKVEE=9aSfEAD5n64Am43eQ@mail.gmail.com> |
On Mon, Aug 8, 2011 at 5:02 PM, <[email protected]> wrote: > I then try to run snmpd.exe -V with the disablePerl true option set in the > snmpd.conf file. This gives a warning suggesting that embedded perl is not > enabled. How do I know if embedded perl has been enabled and what embedded > perl modules should be installed and where? > C:\net-snmp\bin>snmpd.exe -V > MIB search path: C:/net-snmp/share/snmp/mibs;R:/software/sentinel/mibs > Cannot find module (SNMPv2-SMI): At line 7 in > C:/net-snmp/share/snmp/mibs/IP-MIB.txt > C:/net-snmp/etc/snmp/snmpd.conf: line 24: Warning: Unknown token: > disablePerl. > NET-SNMP version 5.7 > > Any help would be appreciated. Is there anything else that I should have > previously built/installed?? > You might be confusing the "Net-SNMP Perl modules" with "embedding Perl in Net-SNMP". While build.bat offers a menu option for building the Net-SNMP Perl modules, I'm not sure embedding Perl in Net-SNMP has already been ported to Windows. Enabling embedded Perl would require at least to enable NETSNMP_EMBEDDED_PERL in net-snmp-config.h. The following is currently present in that header file: /* Define if you are embedding perl in the main agent. */ #undef NETSNMP_EMBEDDED_PERL Bart. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ 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