Bug 92123
Summary: | Header problems cause various autoconfs not work | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Stephen John Smoogen <smooge> |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-06-03 07:58:08 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: |
Description
Stephen John Smoogen
2003-06-02 22:30:34 UTC
The supported interface for building modules is using: apxs -c mod_foo.c this will ensure that -I/usr/include/httpd and whatever else is used, as necessary. If you don't want to use apxs -c, you should add: -I`apxs -q INCLUDEDIR` to CPPFLAGS before running the header checks, but this is not future-proof (and will fail with the packages in Raw Hide). If possible, is the <> link in that header file to force only the use of apxs? It looks like there are several parts that need to be made ready for the project and we had hoped to use autoconf to get those other parts going. It looked like using a standard test on httpd/httpd.h would show that the proper items were installed. however that test fails because of the <> entry on the header file. No, it's not deliberately to force use of apxs. Your test will work if you add: AC_PROG_PROG(APXS, apxs) CPPFLAGS="$CPPFLAGS -I`$APXS -q INCLUDEDIR`" before the AC_CHECK_HEADERS test, as I eluded to above, still with caveat. |