fails with mpm.h: No such file or directory

Solution Verified - Updated -


  • 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


  • JBoss Operations Network (JON) 2.3, 2.3.1
  • SuSE Linux Enterprise 11
  • Apache SNMP Connector source provided by
  • Building Apache SNMP Connector from source using ./ 2.2 /usr/sbin/apxs2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content