猎鹰php制作:*** [phalcon.lo]错误1

时间:2014-05-18 21:17:22

标签: php lamp phalcon digital-ocean

使用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)

1 个答案:

答案 0 :(得分:0)

据推测,您需要安装包含libpcre3-dev标头文件的libpcre3