Home
Download
Document
Forum
Video
Donate
Source Code
AI 助理
Sponsors
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
Products
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
Login
Register
全部
提问
分享
讨论
建议
公告
开发框架
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
发布于8年前 · 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
回复
微信公众号
热门内容
作者其它话题
- 用到了swoole_process作多进程任务处理,出现段错误
暂无回复的问答
- CodeGalaxy K3s 轻量集群节点之间如何实现负载均衡
- 关于openssl CURL WARNING swSSL_connect: SSL_connect(fd=69) failed. Error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small[1|394]
- 多个模型如何进行事务异常回退?
- websocket开启wss报错
- 协程tcp服务器如何使用多进程?recv()方法接收信息,打印出来的pid一直是同一个。没用使用到多进程啊。