httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doyle Jonathan <doylejonatha...@yahoo.fr>
Subject Re: [users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?
Date Wed, 07 Oct 2015 15:52:29 GMT
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

      De : Aurélien Terrestris <aterrestris@gmail.com>
 À : users@httpd.apache.org; Doyle Jonathan <doylejonathan58@yahoo.fr> 
Cc : "stefan@eissing.org" <stefan@eissing.org> 
 Envoyé le : Mercredi 7 octobre 2015 17h44
 Objet : Re: [users@httpd] pcre.h missing during apache installation, should be replaced
by pcre2.h ?
   
Are you using the configure parameter : --with-pcre=PATH_TO_YOUR_pcre ?
2015-10-07 17:40 GMT+02:00 Doyle Jonathan <doylejonathan58@yahoo.fr>:



By "I need my own PCRE" you mean I'm stuck with the default, globally-installed
PCRE on my Mac ?   That locally installed versions of PCRE are useless ?


      De : Stefan Eissing <stefan@eissing.org>
 À : users@httpd.apache.org; Doyle Jonathan <doylejonathan58@yahoo.fr> 
 Envoyé le : Mercredi 7 octobre 2015 17h33
 Objet : Re: [users@httpd] pcre.h missing during apache installation, should be replaced
by pcre2.h ?
   
On OS X, you need your own pcre. I did that for my mod_h2 sandbox: https://github.com/icing/mod_h2

Hope that helps,

  Stefan



> Am 07.10.2015 um 17:29 schrieb Doyle Jonathan <doylejonathan58@yahoo.fr>:
> 
> I am trying to install Apache2 locally on my Yosemite Mac. 
> I successfully installed the latest versions of the prerequisites
> (APR 1.5.2, APR-util 1.5.4, PCRE 2.10.10).
> It seems that "./configure" runs fine, but "make" yields the following error
> message :
> 
> util_pcre.c:49:10: fatal error: 'pcre.h' file not found
> #include "pcre.h"
>          ^
> 1 error generated.
> make[2]: *** [util_pcre.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> Looking at my local installation of PCRE, I see pcre2.h files in
> my source distribution and my installation directory but no pcre.h
> file indeed. 
> 
> Any help appreciated.


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


   



  
Mime
View raw message