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

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