Yes, although I’m not sure about the exact path.
My source distributions are at
/Users/ewandelanoy/Documents/Installers/
My installed stuff are at
/Users/ewandelanoy/Documents/Installations/usr/local/
I used configure as follows :
./configure
--prefix=/Users/ewandelanoy/Documents/Installations/usr/local/
--with-included-apr
--with-pcre=/Users/ewandelanoy/Documents/Installers/pcre2-10.10/pcre2-config
Are you using the configure parameter
: --with-pcre=PATH_TO_YOUR_pcre ?