I tried this:

env PCRE_CONFIG=/usr/local/pcre2-10.40/bin/pcre2-config \
./configure \
  --prefix=/usr/local/apache2-2.4.53 \
  --with-included-apr \
  --enable-so \
  --with-pcre=/usr/local/pcre2-10.40 \
  --enable-rewrite

and it worked for me.  Thanks!

I didn't know about the PCRE_CONFIG variable.  I checked configure --help and the INSTALL readme but didn't find any mention of it.

My feeling is that --with-pcre isn't working as expected because the config.log does indicate it knows where to find pcre2-config but doesn't seem to use it.  At least with PCRE_CONFIG we can directly specify.

Thank you for all of your help!


On 2022-05-04 11:00 a.m., Zube wrote:
Hi,
For 2.4.53 and pcre2 10.39, I set first:

setenv PCRE_CONFIG /usr/local/aux/httpd/pcre1039/bin/pcre2-config

(this is tcsh)

and also used with configure:

--with-pcre=/usr/local/aux/httpd/pcre1039

and it seems to build fine.  Just rebuilt everything with ssl 1.1.1o
today.

Cheers,
Zube

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to