linux 无法 安装swoole

运行pecl install swoole
报错:/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory
#include "pcre.h"

网络搜索解决方案:install libpcre3-dev

运行命令: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.3) but is to be installed
E: Unable to correct problems, you have held broken packages.

阅读 202
评论 2019-09-05 提问
    1 个回答
    • 687


    评论 赞赏 2019-09-06