FAQ:Compiling 08

From Net-SNMP Wiki
Revision as of 14:51, 29 December 2006 by Dts12 (Talk | contribs) (Move FAQ text to a template page & 5.4 release synchronisation)

Jump to: navigation, search

Why does 'make test' skip five tests?

Some of the tests are only relevant to particular operating systems, or rely on specific areas of functionality. The test framework will check whether the relevant elements are available before running the relevant tests, and will skip them if these modules have been omitted from the build environment (or do not apply to the current system).

One example of this are the tests T053agentv1trap, T054agentv2ctrap, T055agentv1mintrap, T056agentv2cmintrap and T113agentxtrap, which rely upon functionality from the NET-SNMP-EXAMPLES-MIB implementation. This module is not included in the default agent configuration, so the test framework will skip these tests.
To include them, run

       configure --with-mib-modules=examples/example

and re-compile.

   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?