I am trying to install Apache (by compilation) on my Mac Lion.
Every time I try to compile pcre, I get the following two errors:
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
or
"No prce-config script found in"
I know that I have this pcre-config file.
(I put http-2.4.1 and pcre-8.30 in Documents / I tried another place in MyUsername / Test / → the same result → it didn’t work either).
Any help would be greatly appreciated.
Thank.
Edit:
I copied http-2.4.1 and pcre-8.30 to "/" then I pressed / pcre -8.30
after which I released. / configure → There were no errors.
then i cded / http-2.4.1
. /configure --prefix =/usr/local/apache_2.2. --with-pcre =/pcre-8.30
1 configure: : pcre-config script /pcre -8.30
, " ..................:/usr/local" ( pcre-8.30). pcre .