I have to code a C program that uses net-snmp libraries. I have to do this
in Windows platform. But I understand that net-snmp programs needs gcc
compiler that comes with linux environment. And this can be achieved in
windows by using Cygwin, a Linux like environment in Window. I have read the
instructions to do this frm various sources but still facing with few
problems. I shall list out wat all I have done and wat problems iam
facing here...
1. Installed Cygwin, with basic packages and checked gcc compiler, gdb,
make ( which are required for net-snmp)
2. downloaded net-snmp-5.4 , extracted it and placed it in home directory of
Cygwin directory
3. opened cygwin console and changed the net-snmp-5.4 directory and compiled
it as follows
./configure --prefix=/net-snmp --with-mib-modules="host"
make
make install
4. After this wen I checked the net-snmp cirectory which was created under
root( using --prefix) , it had the 'include' directory, but all the
libraries weren't there. ( only net-snmp-config.h is present).
5. Also the snmpwalk, snmpget or any other commands do not work( they prompt
an error: command not found)
Kindly help me with this installation. Should I include any other
dependency packaged during Cygwin installation?? or should I include any
directives in ./configure command. Why are the libraries not
getting installed
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders