首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
用cygwin编译失败
1.7.18的版本 用cygwin装的,流程跟视频完全一样,但make的时候报错了,求解 $ make /bin/sh /home/swoole-src/libtool --mode=compile cc -I. -I/home/swoole-src -DPHP _ATOM_INC -I/home/swoole-src/include -I/home/swoole-src/main -I/home/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/includ e/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/home/swoole -src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/swoole-src/swool e.c -o swoole.lo libtool: compile: cc -I. -I/home/swoole-src -DPHP_ATOM_INC -I/home/swoole-src/i nclude -I/home/swoole-src/main -I/home/swoole-src -I/usr/include/php -I/usr/incl ude/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ ext -I/usr/include/php/ext/date/lib -I/home/swoole-src/include -DHAVE_CONFIG_H - Wall -pthread -g -O2 -c /home/swoole-src/swoole.c -DDLL_EXPORT -DPIC -o .libs/s woole.o In file included from /usr/include/php/ext/spl/spl_iterators.h:27:0, from /home/swoole-src/swoole.c:28: /usr/include/php/ext/pcre/php_pcre.h:29:18: 致命错误:pcre.h:No such file or di rectory #include "pcre.h" ^ 编译中断。 Makefile:180: recipe for target 'swoole.lo' failed make: *** [swoole.lo] Error 1
发布于9年前 · 1 次浏览 · 来自
提问
K
Kennethquard
1.7.18的版本 用cygwin装的,流程跟视频完全一样,但make的时候报错了,求解 $ make /bin/sh /home/swoole-src/libtool --mode=compile cc -I. -I/home/swoole-src -DPHP _ATOM_INC -I/home/swoole-src/include -I/home/swoole-src/main -I/home/swoole-src -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/includ e/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/home/swoole -src/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/swoole-src/swool e.c -o swoole.lo libtool: compile: cc -I. -I/home/swoole-src -DPHP_ATOM_INC -I/home/swoole-src/i nclude -I/home/swoole-src/main -I/home/swoole-src -I/usr/include/php -I/usr/incl ude/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ ext -I/usr/include/php/ext/date/lib -I/home/swoole-src/include -DHAVE_CONFIG_H - Wall -pthread -g -O2 -c /home/swoole-src/swoole.c -DDLL_EXPORT -DPIC -o .libs/s woole.o In file included from /usr/include/php/ext/spl/spl_iterators.h:27:0, from /home/swoole-src/swoole.c:28: /usr/include/php/ext/pcre/php_pcre.h:29:18: 致命错误:pcre.h:No such file or di rectory #include "pcre.h" ^ 编译中断。 Makefile:180: recipe for target 'swoole.lo' failed make: *** [swoole.lo] Error 1
赞
0
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
登录
后参与评论
评论
2016-12-24
K
Kris
缺少pcre库,你需要安装pcre工具
赞
0
回复