You did change "/path/to/pcre" to the correct path, right?

On Mon, Mar 14, 2022 at 12:45 PM Ash <ash.kre...@protonmail.com.invalid>
wrote:

> Configure fails for us when building httpd-2.4.53 from source using the
> --with-pcre option.  The error occurs on both RHEL 8 and Solaris 11.3.  A
> prior release of httpd (httpd-2.4.51) builds successfully in these same
> environments with the same commands.
>
> We're using apr 1.7.0, apr-util 1.6.1, PCRE 8.4.1 and OpenSSL 1.1.1l.
>
> Our configure command is:
> ./configure --prefix=/path/to/apache \
>   --with-crypto --with-openssl=/path/to/ssl \
>   --with-included-apr \
>   --with-pcre=/path/to/pcre \
>   --with-ssl=/path/to/ssl
>
> The specific error on RHEL 8 is different than the error on Solaris, but
> on both platforms /path/to/pcre/bin/pcre-config is executable by the build
> user, as are all the PCRE libraries.
>
> Console output from configure on RHEL 8 shows:
> checking for -pcre2-config... no
> checking for -pcre-config... no
> checking for pcre2-config... no
> checking for pcre-config... pcre-config
> configure: error: Did not find working script at pcre-config
>
> and config.log on RHEL 8 shows:
> configure:6144: checking for -pcre2-config
> configure:6174: result: no
> configure:6144: checking for -pcre-config
> configure:6174: result: no
> configure:6188: checking for pcre2-config
> configure:6218: result: no
> configure:6188: checking for pcre-config
> configure:6204: found /path/to/pcre/bin/pcre-config
> configure:6215: result: pcre-config
> configure:6236: error: Did not find working script at pcre-config
>
>
> Console output on Solaris 11 shows:
> checking for -pcre2-config... no
> checking for -pcre-config... no
> checking for pcre2-config... no
> checking for pcre-config... no
> configure: error: Did not find working script at /path/to/pcre
>
> and contents of config.log on Solaris 11 show:
> configure:6144: checking for -pcre2-config
> configure:6174: result: no
> configure:6144: checking for -pcre-config
> configure:6174: result: no
> configure:6188: checking for pcre2-config
> configure:6218: result: no
> configure:6188: checking for pcre-config
> configure:6218: result: no
> configure:6236: error: Did not find working script at /path/to/pcre
>
> We notice significant changes were made to configure between 2.4.51 and
> 2.4.53.
>
> Thanks for any suggestions.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to