Need to compile a MIB - Error When running ./configure [Configure Error - file program not found although it is needed by libtool.]

jack n <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm

_______________________________________________
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.