Home
Download
Document
Forum
Video
Donate
Source Code
AI 助理
Sponsors
CRMEB
Apipost
腾讯云
微擎
禅道
51Talk
Products
Swoole AI 智能文档翻译器
Swoole-Compiler PHP 代码加密器
CRMEB 新零售社交电商系统
Login
Register
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
linux 安装swoole报错,PHP 7.4.30,swoole-src-4.8.13
linux 安装swoole报错,PHP 7.4.30,swoole-src-4.8.13 ### PHP 7.4.30,swoole-src-4.8.13 ,Alibaba Cloud Linux 3.2104 LTS 64位 SCC版Linux64位 ### 相关代码 ```php /usr/include/c++/10/bits/stl_multiset.h:110:20: error: expected ‘)’ before ‘;’ token 110 | static_assert(is_same<typename remove_cv<_Key>::type, _Key>::value, | ^ | ) 111 | "std::multiset must have a non-const, non-volatile value_type"); | ~ /usr/include/c++/10/bits/stl_multiset.h:114:67: error: expected ‘(’ before ‘;’ token 114 | "std::multiset must have the same value_type as its allocator"); | ^ | ( /usr/include/c++/10/bits/stl_multiset.h:114:67: error: expected primary-expression before ‘;’ token /usr/include/c++/10/bits/stl_multiset.h:113:20: error: expected ‘,’ before ‘;’ token 113 | static_assert(is_same<typename _Alloc::value_type, _Key>::value, | ^ | , 114 | "std::multiset must have the same value_type as its allocator"); | ~ /usr/include/c++/10/bits/stl_multiset.h:114:67: error: expected string-literal before ‘;’ token 114 | "std::multiset must have the same value_type as its allocator"); | ^ /usr/include/c++/10/bits/stl_multiset.h:113:20: error: expected ‘)’ before ‘;’ token 113 | static_assert(is_same<typename _Alloc::value_type, _Key>::value, | ^ | ) 114 | "std::multiset must have the same value_type as its allocator"); | ~ make: *** [Makefile:192: ext-src/php_swoole.lo] Error 1 ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
发布于1年前 · 35 次浏览 · 来自
提问
昂
linux 安装swoole报错,PHP 7.4.30,swoole-src-4.8.13 ### PHP 7.4.30,swoole-src-4.8.13 ,Alibaba Cloud Linux 3.2104 LTS 64位 SCC版Linux64位 ### 相关代码 ```php /usr/include/c++/10/bits/stl_multiset.h:110:20: error: expected ‘)’ before ‘;’ token 110 | static_assert(is_same<typename remove_cv<_Key>::type, _Key>::value, | ^ | ) 111 | "std::multiset must have a non-const, non-volatile value_type"); | ~ /usr/include/c++/10/bits/stl_multiset.h:114:67: error: expected ‘(’ before ‘;’ token 114 | "std::multiset must have the same value_type as its allocator"); | ^ | ( /usr/include/c++/10/bits/stl_multiset.h:114:67: error: expected primary-expression before ‘;’ token /usr/include/c++/10/bits/stl_multiset.h:113:20: error: expected ‘,’ before ‘;’ token 113 | static_assert(is_same<typename _Alloc::value_type, _Key>::value, | ^ | , 114 | "std::multiset must have the same value_type as its allocator"); | ~ /usr/include/c++/10/bits/stl_multiset.h:114:67: error: expected string-literal before ‘;’ token 114 | "std::multiset must have the same value_type as its allocator"); | ^ /usr/include/c++/10/bits/stl_multiset.h:113:20: error: expected ‘)’ before ‘;’ token 113 | static_assert(is_same<typename _Alloc::value_type, _Key>::value, | ^ | ) 114 | "std::multiset must have the same value_type as its allocator"); | ~ make: *** [Makefile:192: ext-src/php_swoole.lo] Error 1 ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
赞
0
分享
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
评论
2023-09-16
昂
有大佬遇到?
赞
0
回复
2023-09-18
昂
**##### 服务器系统问题,已解决 换成cenos系统就ok**
赞
0
回复
2023-09-26
Rango
系统的 gcc 版本问题,建议升级 gcc 或者使用高版本的 CentOS 或 Ubuntu 系统
赞
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一直是同一个。没用使用到多进程啊。