This is a discussion on Net-snmp insatllation in Cygwin----kindly help within the SNMP Coders forums, part of the Networking and Network Related category; --===============0679187255== Content-Type: multipart/alternative; boundary="----=_Part_138520_29540566.1174760505124" ------=_Part_138520_29540566.1174760505124 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============0679187255==
Content-Type: multipart/alternative; boundary="----=_Part_138520_29540566.1174760505124" ------=_Part_138520_29540566.1174760505124 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_138520_29540566.1174760505124 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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... <div> </div> <div>1. Installed Cygwin, with basic packages and checked gcc compiler, gdb, make ( which are required for net-snmp)</div> <div>2. downloaded net-snmp-5.4 , extracted it and placed it in home directory of Cygwin directory </div> <div>3. opened cygwin console and changed the net-snmp-5.4 directory and compiled it as follows</div> <div> &nb sp; ./configure --prefix=/net-snmp --with-mib-modules="host"</div> <div> &nb sp; make</div> <div> &nb sp; make install</div> <div>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). </div> <div>5. Also the snmpwalk, snmpget or any other commands do not work( they prompt an error: command not found)</div> <div> </div> <div> &nb sp; 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 </div> ------=_Part_138520_29540566.1174760505124-- --===============0679187255== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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?p...rge&CID=DEVDEV --===============0679187255== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============0679187255==-- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|