Bug 591378
Summary: | build_apache_snmp.sh fails with cannot run /bin/sh ./config.sub | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> |
Component: | No Component | Assignee: | Heiko W. Rupp <hrupp> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 1.3.1 | CC: | hrupp, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-08-12 16:53:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 593121 |
Description
Larry O'Leary
2010-05-12 04:40:39 UTC
We should see whether this is an issue on RHEL, if not then I suspect just a doc update should be sufficient here. RHEL 5.5 needs a bunch of (additional) packages installed - httpd-devel - libtool - automake but building the modules for apache 2.0 and 2.2 fails with missing includes ( -I options are not correctly set) and 1.3 fails with some other error. As we are delivering binary versions, compiling from source is perhaps not that important. The docs at http://rhq-project.org/display/JOPR2/Apache+2.x+SNMP+Config tell that automake is needed. Hi to all, anyone came to a solution? I'm in a similar situation: Red Hat AS4, apache 2.0.52 and I need to compile because the binaries are linked to GLIBC_2.4 and on my system there is GLIBC_2.3. Try the workaround mentioned in the description:
> It appears that this is because config.sub and config.guess
> are missing. I was able to get around this issue by executing
> automake -a from the snmp2.0 directory to add the missing
> files.
Basically, you will force automake to generate/add the missing files.
Hi all, I solved following this post from RHQ Project: http://jira.rhq-project.org/browse/RHQ-1979 It was a Solaris environment bug but I tried and it worked. r10793 adds a switch for Solaris that defaults to the RHEL behaviour Confirmed that running automake works. After running it, I got: [root@core-01 snmp2.0]# automake -a configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). configure.in:32: installing `./config.guess' configure.in:32: installing `./config.sub' automake: no `Makefile.am' found for any configure output And then reattempting the build was successful. However, per comment #1, do we need to have this documented somewhere? Marking this verified. Mass-closure of verified bugs against JON. |