FAQ:Compiling 05

From Net-SNMP Wiki

Jump to: navigation, search

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

The following configure options may also be useful:

 --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 compile with 'cc' instead of 'gcc'?
  2. The compilation is complaining about missing libraries. Why?
  3. I'm getting an error "autoheader: not found" - what's wrong?
  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 to use static linking?
  7. Why is the project workspace empty under Visual C++?
  8. Why does 'make test' skip five tests?
  9. Why does 'make test' complain about a pid file?
Personal tools