FAQ:Compiling 08

From Net-SNMP Wiki
Revision as of 21:57, 25 October 2006 by Dts12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How can I reduce the installation footprint or speed up compilation?

If you are using net-snmp v5.1 or above, then the following configure options may be useful to you:

 --disable-agent                 Do not build the agent (snmpd). 
 --disable-applications          Do not build the apps (snmpget, ...).
 --disable-manuals               Do not install the manuals.
 --disable-scripts               Do not install the scripts (mib2c, ...).
 --disable-mibs                  Do not install the mib files.
 --disable-mib-loading            Do not include code that parses and manipulates the mib files.
   FAQ:Compiling
   
  1. How do I control the environment used to compile the software?
  2. How do I control the environment used to compile the software under Windows?
  3. Why does the compilation complain about missing libraries?
  4. How can I reduce the memory footprint?
  5. How can I reduce the installation footprint or speed up compilation?
  6. How can I compile the project for use on an embedded system?
  7. How can I compile the project to use static linking?
  8. Why does 'make test' skip various tests?
  9. Why does 'make test' complain about a pid file?