build_apache_snmp.sh fails with mpm.h: No such file or directory
Issue
- The compilation process fails with:
... building Apache module Build failed. Please email /tmp/jon/apache-snmp/sources/2.2_log to support - Build fails with compilation issues reported in 2.2_log:
... libtool: compile: gcc -DHAVE_CONFIG_H -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DUSING_MIBII_SYSORTABLE_MODULE -I.. -I/tmp/jon/apache-snmp/sources/snmp_common/ucd-snmp -I/tmp/jon/apache-snmp/sources/snmp_common/ucd-snmp/snmplib -I/tmp/jon/apache-snmp/sources/snmp_common/ucd-snmp/agent -I/tmp/jon/apache-snmp/sources/snmp_common/sdbm -I/usr/include/apache2 -I/usr/include/apr-1 -c server-service.c -fPIC -DPIC -o .libs/server-service.o server-service.c:12:17: error: mpm.h: No such file or directory make[2]: *** [server-service.lo] Error 1 make[2]: Leaving directory `/tmp/jon/apache-snmp/sources/snmp2.0/src/apache-server-mib' make[1]: *** [mib-libraries] Error 2 make[1]: Leaving directory `/tmp/jon/apache-snmp/sources/snmp2.0/src' make: *** [all] Error 2 - Build fails due to mpm.h not being found
Environment
- JBoss Operations Network (JON) 2.3, 2.3.1
- SuSE Linux Enterprise 11
- Apache SNMP Connector source provided by connector-apache.zip
- Building Apache SNMP Connector from source using ./build_apache_snmp.sh 2.2 /usr/sbin/apxs2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
