Phalcon安装在ubuntu上给出了错误

时间:2015-10-31 18:31:08

标签: phalcon

我正在尝试使用以下命令在我的ubuntu 14.04中安装phalcon

  

git clone https://github.com/phalcon/cphalcon.git

     

cd cphalcon / build

     

sudo ./install

它会出现这样的错误

/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 install 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.
请求帮助我...

0 个答案:

没有答案