Corresponding Apr or pcre errors require that the source be loaded, and the Apache HTTPD "configure" process should be informed of these source locations in your file system. For example: if you downloaded the source for APR in. / srclib (regarding apache httpd), you should use --with-included-april
as a configuration parameter.
On the other hand, if you want not to build, but to install APR / APR-UTIL, then you need the following: CentOS / RedHat:
yum install apr-util-devel apr-devel
However, it may happen that the version of APR provided by yum does not match the expected version of Apache httpd. In this case, you can download APR and APR-UTIL and use the --with-included-apr option.
You can also create PCRE using the same “configure, make, make install” process, and then continue when you stopped building Apache httpd.
Or you can install pcre: yum install pcre-devel
If you see "compile: unrecognized option" when creating PCRE, then you might need other dependencies: see details at:
http://khanna111.com/wordPressBlog/2012/09/11/94087-2/
It also covers "mod_deflate" and "zlib".
Khanna111 Oct 22 '14 at 19:45 2014-10-22 19:45
source share