首页
下载
文档
问答社区
视频
捐赠
源代码
AI 助理
赞助商
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
商业产品
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
安装swoole时,make出错
ubuntu 12.04 PHP 5.3.10-1ubuntu3.14 with Suhosin-Patch (cli) (built: Sep 4 2014 07:08:49) /bin/bash /home/danny/swoole-src-swoole-1.7.6-stable/libtool --mode=compile cc -I. -I/home/danny/swoole-src-swoole-1.7.6-stable -DPHP_ATOM_INC -I/home/danny/swoole-src-swoole-1.7.6-stable/include -I/home/danny/swoole-src-swoole-1.7.6-stable/main -I/home/danny/swoole-src-swoole-1.7.6-stable -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -I/home/danny/swoole-src-swoole-1.7.6-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/danny/swoole-src-swoole-1.7.6-stable/swoole.c -o swoole.lo libtool: compile: cc -I. -I/home/danny/swoole-src-swoole-1.7.6-stable -DPHP_ATOM_INC -I/home/danny/swoole-src-swoole-1.7.6-stable/include -I/home/danny/swoole-src-swoole-1.7.6-stable/main -I/home/danny/swoole-src-swoole-1.7.6-stable -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -I/home/danny/swoole-src-swoole-1.7.6-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/danny/swoole-src-swoole-1.7.6-stable/swoole.c -fPIC -DPIC -o .libs/swoole.o In file included from /usr/include/php5/ext/spl/spl_iterators.h:27:0, from /home/danny/swoole-src-swoole-1.7.6-stable/php_swoole.h:28, from /home/danny/swoole-src-swoole-1.7.6-stable/swoole.c:19: /usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory compilation terminated. make: *** [swoole.lo] Error 1 这是什么原因?
发布于8年前 · 3 次浏览 · 来自
提问
S
Simon#
ubuntu 12.04 PHP 5.3.10-1ubuntu3.14 with Suhosin-Patch (cli) (built: Sep 4 2014 07:08:49) /bin/bash /home/danny/swoole-src-swoole-1.7.6-stable/libtool --mode=compile cc -I. -I/home/danny/swoole-src-swoole-1.7.6-stable -DPHP_ATOM_INC -I/home/danny/swoole-src-swoole-1.7.6-stable/include -I/home/danny/swoole-src-swoole-1.7.6-stable/main -I/home/danny/swoole-src-swoole-1.7.6-stable -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -I/home/danny/swoole-src-swoole-1.7.6-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/danny/swoole-src-swoole-1.7.6-stable/swoole.c -o swoole.lo libtool: compile: cc -I. -I/home/danny/swoole-src-swoole-1.7.6-stable -DPHP_ATOM_INC -I/home/danny/swoole-src-swoole-1.7.6-stable/include -I/home/danny/swoole-src-swoole-1.7.6-stable/main -I/home/danny/swoole-src-swoole-1.7.6-stable -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/include -I/home/danny/swoole-src-swoole-1.7.6-stable/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /home/danny/swoole-src-swoole-1.7.6-stable/swoole.c -fPIC -DPIC -o .libs/swoole.o In file included from /usr/include/php5/ext/spl/spl_iterators.h:27:0, from /home/danny/swoole-src-swoole-1.7.6-stable/php_swoole.h:28, from /home/danny/swoole-src-swoole-1.7.6-stable/swoole.c:19: /usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory compilation terminated. make: *** [swoole.lo] Error 1 这是什么原因?
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2016-02-14
P
Prince °-楊
自己解决了,需要安装 libpcre3-dev $ sudo apt-get install libpcre3-dev
赞
0
回复
2016-02-14
N
Nchyn
[http://wiki.swoole.com/wiki/page/312.html](http://wiki.swoole.com/wiki/page/312.html)
赞
0
回复
微信公众号
热门内容
暂无回复的问答
- 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一直是同一个。没用使用到多进程啊。