Net-snmp insatllation in Cygwin----kindly help

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


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2007
DEEPIKA REDDY
 
Posts: n/a
Default Net-snmp insatllation in Cygwin----kindly help

--===============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>&nbsp;</div>
<div>1. Installed Cygwin, with basic packages and checked gcc compiler, gdb, make&nbsp;( 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&nbsp;</div>
<div>3. opened cygwin console and changed&nbsp;the net-snmp-5.4 directory and compiled it&nbsp;as follows</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp; ./configure&nbsp; --prefix=/net-snmp --with-mib-modules=&quot;host&quot;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp; make</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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&nbsp;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==--

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0