vmware-tanzu / oss-httpd-build

This project is a schema to build Apache HTTP Server (httpd), along with a number of frequently updated library components (dependencies), on Linux or Windows. The results of this build are also distributed periodically to the general public from the https://network.tanzu.vmware.com/products/p-apache-http-server (login required)
Apache License 2.0
3 stars 6 forks source link

Linux --with-pcre=path broken when system devel package is not installed #32

Closed wrowe closed 2 years ago

wrowe commented 2 years ago

All builds of linux are broken in httpd when the make -f ../mak/Makefile.build GRP=complete is specified, including the current release.

The default is to use system installed pcre on modern linux OS's, and this is documented in the README.md - and when this dependency is not installed the build will fail with;

checking for -pcre2-config... no checking for -pcre-config... no checking for pcre2-config... pcre2-config configure: error: Did not find working script at pcre2-config ../mak/Makefile.build:499: recipe for target 'httpd-2.5.x-1904305/Makefile' failed

The Makefile.build-win on Windows is not affected.

This needs to be fixed upstream in trunk and branches/2.4.x

wrowe commented 2 years ago

PR #35 does resolve this issue using one workaround, so closing this for oss-httpd-build's purposes