1

使用 DigitalOcean LAMP 并尝试安装 Falconphp,但出现以下错误;

libtool: compile: gcc -I. -I/cphalcon/build/32bits -DPHP_ATOM_INC -I/cphalcon/build/32bits/include -I/cphalcon/build/32bits/main -I/cphalcon/build/32bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /cphalcon/build/32bits/phalcon.c -fPIC -DPIC -o .libs/phalcon.o In file included from /usr/include/php5/ext/spl/spl_iterators.h:27:0, from /cphalcon/build/32bits/phalcon.c:204: /usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory compilation terminated. make: *** [phalcon.lo] Error 1

有谁知道如何解决这个问题?(php_pcre.h 退出 - 但不是 pcre.h)

4

1 回答 1

0

大概你需要安装libpcre3-dev其中包含libpcre3头文件。

于 2014-05-18T23:05:13.300 回答