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)
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
- How do I control the environment used to compile the software?
- How do I control the environment used to compile the software under Windows?
- Why does the compilation complain about missing libraries?
- How can I reduce the memory footprint?
- How can I reduce the installation footprint or speed up compilation?
- How can I compile the project for use on an embedded system?
- How can I compile the project to use static linking?
- Why does 'make test' skip various tests?
- Why does 'make test' complain about a pid file?