Compilation fails with the following errors when compiling with latest pcre ( full config / make log http://pastebin.com/4t5zuYi5 ): /usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la /usr/local/apr/lib/libaprutil-1.la -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread server/.libs/libmain.a(util_pcre.o): In function `ap_regfree': /root/httpd-2.4.10/server/util_pcre.c:104: undefined reference to `pcre_free' server/.libs/libmain.a(util_pcre.o): In function `ap_regname': /root/httpd-2.4.10/server/util_pcre.c:269: undefined reference to `pcre_fullinfo' /root/httpd-2.4.10/server/util_pcre.c:271: undefined reference to `pcre_fullinfo' /root/httpd-2.4.10/server/util_pcre.c:273: undefined reference to `pcre_fullinfo' server/.libs/libmain.a(util_pcre.o): In function `ap_regexec_len': /root/httpd-2.4.10/server/util_pcre.c:207: undefined reference to `pcre_exec' server/.libs/libmain.a(util_pcre.o): In function `ap_regcomp': /root/httpd-2.4.10/server/util_pcre.c:138: undefined reference to `pcre_compile2' /root/httpd-2.4.10/server/util_pcre.c:151: undefined reference to `pcre_fullinfo' collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make[1]: Leaving directory `/root/httpd-2.4.10' make: *** [all-recursive] Error 1
As we need latest pcre which is pcre2, apache http server unable to recognize. We dont want to downgrade to pcre.
(In reply to Syed Ali from comment #1) > As we need latest pcre which is pcre2, apache http server unable to > recognize. > We dont want to downgrade to pcre It's designed as an incompatible version of the library, so you shouldn't look at it is a downgrade.