[users@httpd] apr version issue in Apache Installation on Mac OS X

2015-10-07 Thread Doyle Jonathan
This is my first in trying to install Apache HTTP server locally on my Yosemite Mac. I successfully installed APR version 1.5.2, APR-util version 1.5.4 and PCRE 2, but then I am stuck in the first step of the Apache installation. When I run ./configure in the httpd-2.4.16 directory, I get the

Re: [users@httpd] a newbie question: Share custom Data between modules

2015-10-07 Thread Suat Furkan Kahya
Thanks for information. 2015-10-07 2:56 GMT+03:00 Kurtis Rader : > On Tue, Oct 6, 2015 at 4:08 PM, Suat Furkan Kahya > wrote: > >> i have a struct and 2 modules >> >> typedef struct person{ >> >>char *name; >> int id; >>

Re: [users@httpd] apr version issue in Apache Installation on Mac OS X

2015-10-07 Thread Jack Swan
Copy or move the apr and apr-util distributions into the httpd/srclib directory so you'll have /srclib/apr (without the version extension) /srclib/apr-util (without the version extension) and try the --with-included-apr option to configure instead of the --with-apr and --with-apr-util

[users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?

2015-10-07 Thread Doyle Jonathan
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'

Re: [users@httpd] apr version issue in Apache Installation on Mac OS X

2015-10-07 Thread Doyle Jonathan
Now the .configure step works, thank you. I had indeed copied the APR and APR-util distributions into the srclib directory as explained in the INSTALL file, but I didn't realize that --with-included-apr and --with-apr were different options and used the latter instead of the former.   De 

Re: [users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?

2015-10-07 Thread Stefan Eissing
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 : > > I am trying to install Apache2 locally on my Yosemite Mac. > I successfully installed

Re: [users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?

2015-10-07 Thread Eric Covener
On Wed, Oct 7, 2015 at 11:52 AM, Doyle Jonathan wrote: > ./configure --prefix=/Users/ewandelanoy/Documents/Installations/usr/local/ > --with-included-apr > --with-pcre=/Users/ewandelanoy/Documents/Installers/pcre2-10.10/pcre2-config pcre2 didn't maintain backwards

Re: [users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?

2015-10-07 Thread Doyle Jonathan
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 À : users@httpd.apache.org; Doyle Jonathan Envoyé le : Mercredi 7

Re: [users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?

2015-10-07 Thread Aurélien Terrestris
Are you using the configure parameter : --with-pcre=PATH_TO_YOUR_pcre ? 2015-10-07 17:40 GMT+02:00 Doyle Jonathan : > 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

Re: [users@httpd] pcre.h missing during apache installation, should be replaced by pcre2.h ?

2015-10-07 Thread Doyle Jonathan
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