fails with cannot run /bin/sh ./config.sub

Solution Verified - Updated -


  • Installation of apache snmp/rt modules fails
  • When compiling apache-snmp-module, the following appears:
    building Apache module
    configure: error: cannot run /bin/sh ./config.sub
    Build failed. Please email /tmp/apache-snmp/sources/2.2_log to support


  • Red Hat JBoss Operations Network (JON) 2.3, 2.3.1, 3.3
  • SuSE Linux Enterprise 11
  • Fedora 11
  • Red Hat Enterprise Linux (RHEL) 6
  • Apache SNMP Connector source provided by
  • Building Apache SNMP Connector from source using ./ 2.2 /usr/sbin/apxs

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