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-qw3rGw_wLVVDWQbHF1AsFvAOiwRqmi+RSCVZ4QrafDEg@mail.gmail.com> |
On Thu, Aug 18, 2011 at 11:09 AM, <[email protected]> wrote: > I am getting a strange error when running my perl script. > > I am attempting to initialise a Perl CORBA: Orb in order to access the > data to be managed by SNMP (which I can do succesfully using a standalone > perl script) > > Adding the Corba Orb initialisation request > > my $orb = CORBA::ORB_init(\@ARGV); > > appears to work ok, but any subsequent SNMP request cause a strange error > in my perl script as follows: > > Your vendor has not defined NetSNMP::agent macro MODE_GET at cpan.pl line > 41. Line 41 is the line: > if ($request_info->getMode() == MODE_GET) { > Hi Ali, Can you give this patch a try (you will have to revert the fix-windows-perl-test-lockup.patch first): http://net-snmp.git.sourceforge.net/git/gitweb.cgi?p=net-snmp/net-snmp;a=commitdiff_plain;h=c1c2bdcdd65f4837698648a187696c424192aadc;hp=4efa547480e882c6b0fd0c4b2ee6e674e75cc80a Note: it's probably easier to check out the latest V5-7-branch instead of manually reverting fix-windows-perl-test-lockup.patch and then applying the aforementioned patch. Bart. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ 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