我正在嘗試使用以下命令在我的 ubuntu 14.04 中安裝 phalcon
複製https://github.com/phalcon/cphalcon.git
cd cphacon/構建
須藤./安裝
它給了這樣的錯誤
/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.
請幫我解決這個問題...