我试图在OS X Lion的安装PECL APC( sudo pecl install apc
),并抱怨缺少pcre.h文件:
In file included from /private/tmp/pear/temp/APC/apc.c:44:
/usr/include/php/ext/pcre/php_pcre.h:29:10: fatal error: 'pcre.h' file not found
#include "pcre.h"
所以我用的MacPorts安装PCRE包( sudo port install pcre
),但它仍然抱怨。 我怎样才能解决这个问题?