cygwin 安装swoole 报错致命错误:pcre2.h:No such file or directory

make install 时报错 

In file included from /home/swoole-src-4.4.14/swoole.cc:20:0:
/usr/include/php/ext/pcre/php_pcre.h:27:10: 致命错误:pcre2.h:No such file or directory
 #include "pcre2.h"
          ^~~~~~~~~
编译中断。
 

显然是缺少 pcre2

重新安装 cygwin   ,其他插件保持keep

安装 pcre2  等 相关插件即可

Install libpcre2-devel 

Install libpcre-devel

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章