On 21 March 2011 15:32, Eric Smith <[email protected]> wrote:
> For my work, I need only snmptranslate and mib2c from the net-snmp package.
> I see mib2c ships as such in the tarball (net-snmp-5.6.1/local/mib2c).
>
> Would like to know if it is possible to generate an executable version of
> snmptranslate utility without going through the full install process.
The simplest (if you're compiling from source) would probably be
to run "configure --disable-agent ; make ; make install"
This will then compile and install the library and command line
applications, but not the agent. That's still more than you need,
but shouldn't take as long as the full compilation.
(The agent is by far the largest and most complex element of the software!)
If you want *just* the snmptranslate binary (plus library and MIBs),
then you'd probably have to do something like:
(cd snmplib ; make install)
(cd mibs ; make install)
(cd apps ; INSTALLBINPROGS=snmptranslate make installlocalbin )
That last might not work, but should give you the general idea
Dave
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders