I downloaded a net-snmp-5.5.zip and extracted it in a msys folder.

 

When following the introduction on the net-snmp page I get confused.

Configure net-snmp using the configure flags as shown:

 

        BASEDIR=c:/usr

 

        ./configure --prefix="$BASEDIR" \

               --with-mibdirs="$BASEDIR/share/snmp/mibs" \

        --with-mib-modules="agentx disman/event-mib examples/example" \

        --disable-embedded-perl --without-perl-modules \

 

 

Do I have to configure the net-snmp.zip content or do I have to configure
the installed “stuff” on windows, since I’m assigning my windows netsnmp
installation folder to BASEDIR.

Nevertheless, when configuring I’m getting and error which makes following
“make” not possible:

 

checking for nlist in -lelf...no 

checking for library containing socket... no

configure: error: socket(2) not found.

 

Sorry for bothering you Bart, but I’m pretty clueless about those things.

 

Cheers and regards

Michael

 

Von: bart.vanass...@gmail.com [mailto:bart.vanass...@gmail.com] Im Auftrag
von Bart Van Assche
Gesendet: Montag, 27. September 2010 12:46
An: Michael Jäger
Betreff: Re: Net SNMP Application Development using Eclipse

 

On Mon, Sep 27, 2010 at 12:40 PM, Michael Jäger <michael.jae...@hs-owl.de>
wrote:

Hello Bart,

 

thank you for your fast reply.

 

Can you tell me how to change the MSCV header to the Unix header? I’m not
sure how to recognize that it is that kind of error, but I’m not familiar
with eclipse.

 

I only have one net-snmp-config.h files on my pc. It is located in 

C:\Net-SNMP\usr\include 

 

 

Could you tell me a little bit more please?

 


Hello Michael,

You should remove the currently installed Net-SNMP headers, download the
appropriate Net-SNMP source tar archive, open a MinGW/MSYS shell, extract
the Net-SNMP tar archive, configure it (./configure ...), build and install
it (make && make install). Then you will have MinGW-compatible Net-SNMP
headers available in the location that was specified via --prefix=...

Please send further questions to the Net-SNMP coders list such that the
other Net-SNMP maintainers also can have a look at them.

Bart.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to