I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-07-30 09:03:20.394937-07 by jack06
Compile a MIB - Error
Hi, I had installed net-snmp-5.5 on Windows and am using Cygwin to add a new MIB module and compile it. I had added the new MIB file MY-MIB.txt to /usr/share/snmp/mibs and then loaded the MIB by running $ MIBS=MY-MIB;export MIBS Then using mib2c tool , I had generated both .C and .h file Then I placed both the .h and .c files under agent/mibgroup/ directory Next, to configure the package to find them and compile them into the agent, I tried running $ ./configure--with-mib-modules="myMib" Location to write persistent information (/var/net-snmp): setting Location to write persistent information to... /var/net-snmp checking if I need to feed myself to ksh... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... no checking for a sed that does not truncate output... /usr/bin/sed checking for file... no configure: error: file program not found although it is needed by libtool. But its throwing an error as above, before throwing this error it asks for a set of options, for which I just pressed enter. Please help me compile this MIB. Thanks in advance.
Direct Responses: 12857 | Write a response