我正在尝试使用以下命令在我的 ubuntu 14.04 中安装 phalcon
git 克隆https://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo./安装
并给出如下错误
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory
#include "pcre.h"
^
compilation terminated.
然后我谷歌了错误并找到了安装的解决方案
sudo apt-get 安装 libpcre3-dev
当我尝试这样做时,会出现这样的错误
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpcre3-dev : Depends: libpcre3 (= 1:8.31-2ubuntu2) but 1:8.31- 2ubuntu2.1 is to be installed
Depends: libpcrecpp0 (= 1:8.31-2ubuntu2) but 1:8.31-2ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
请帮助我……