Hi -

Based on this in the Writing a Dynamically Loadable Object tutorial, I
assumed we had to run the configure command:

The Net-SNMP package must have been built with dynamically loadable module
support for the following to work. You should therefore enable the UCD MIB
when configuring the sources:


$ ./configure --with-mib-modules="ucd_snmp $OTHER_MIBS" $OTHER_OPTIONS


Can I skip this part?


Also, another tutorial recommends first testing a new mib and .h and .c by
compiling it directly into the source, and then go to the dynamically
loadable option when all the kinks have been worked out.  This also
requires the configure command.  Is that no longer the recommendation?  (We
will eventually be writing a new MIB and the code to support it.  For now,
I am trying to get a couple of test MIBs and code working.)


Thanks.






Kathy McLeod



                                                                           
             Dave Shield                                                   
             <d.t.shi...@liver                                             
             pool.ac.uk>                                                To 
             Sent by:                  Kathy McLeod/Rochester/i...@ibmus    
             dave.shi...@googl                                          cc 
             email.com                 [email protected] 
                                       t                                   
                                                                   Subject 
             03/04/2010 02:15          Re: no ./initialize - should be     
             AM                        no ./configure                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




On 3 March 2010 23:43, Kathy McLeod <[email protected]> wrote:
> We have a test system with RedHat 5.4.  It had net-snmp installed already

> I created a test mib and used mib2c on it, and completed the code in
> the .c.  I would like to compile it into the master agent for some
initial
> testing, and then compile it into pluggable shared object and tell the
> snmpd agent to load it.  Both of these options require running
> the ... ./configure command.  When I run it, I get "no such file
> or directory".

"configure" is part of the Net-SNMP source tree.
It's needed if you are compiling the software from source.
It's typically not needed (and hence not included) when using
pre-compiled binary packages.

Note that it is *not* necessary to use configure when compiling
pluggable shared objects.   See the tutorial
       Writing a Dynamically Loadable Object
on the project website for details.

Dave



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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

Reply via email to