/usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory
In file included from /root/tmp/pear/APC/apc.c:45:
/usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before ‘pcre’
/root/tmp/pear/APC/apc.c:449: error: expected specifier-qualifier-list before ‘pcre’
/root/tmp/pear/APC/apc.c: In function ‘apc_regex_compile_array’:
/root/tmp/pear/APC/apc.c:510: error: ‘apc_regex’ has no member named ‘preg’
/root/tmp/pear/APC/apc.c:510: error: ‘apc_regex’ has no member named ‘preg’
/root/tmp/pear/APC/apc.c:511: error: ‘apc_regex’ has no member named ‘nreg’
/root/tmp/pear/APC/apc.c:511: error: ‘apc_regex’ has no member named ‘nreg’
/root/tmp/pear/APC/apc.c: In function ‘apc_regex_match_array’:
/root/tmp/pear/APC/apc.c:552: error: ‘apc_regex’ has no member named ‘preg’
/root/tmp/pear/APC/apc.c:552: error: ‘apc_regex’ has no member named ‘preg’
/root/tmp/pear/APC/apc.c:553: error: ‘apc_regex’ has no member named ‘nreg’
/root/tmp/pear/APC/apc.c:553: error: ‘apc_regex’ has no member named ‘nreg’
make: *** [apc.lo] Error 1
ERROR: `make’ failed
How to fix?
yum install pcre-devel