Template:FAQ:General 07

From Net-SNMP Wiki
Jump to: navigation, search

It's probably worth trying to compile it anyway. Unless your system is significantly different to the supported configurations, most of the code (library, applications and the agent infrastructure) should probably compile with little or no difficulty. The most likely source of problems will be MIB modules within the agent, as this tends to be where the most system-specific code is found.

If only a few modules fail to compile, try removing them from the agent by running configure --with-out-mib-module=xxx,yyy, and re-compiling. If a large number of modules fail, then it might be easier to start from a relatively bare system, using configure --enable-mini-agent --with-defaults. Then if this minimal agent compiles and runs successfully, try adding each of the missing mibgroups using the configure option --with-mib-module.

If configure fails with "invalid configuration" messages, or you get completely stuck, contact the coders list for advice. Similarly, if you manage to get this working on a new system, please let us know of any code changes that you needed to make, together with details of the hardware you're using, and what versions of the operating system you've tried it on. The entry 'host' in the file 'config.status' will show this information. Oh, and congratulations!