当前位置:论坛首页 > Linux面板 > 求助

【待反馈】PHP7.4 8.2 8.3安装swoole扩展不成功

发表在 Linux面板2023-12-28 10:49 [复制链接] 4 1539

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:Linux免费版8.0.4

系统版本: Alibaba Cloud Linux release 3

问题描述:PHP7.4  8.2  8.3安装swoole扩展不成功

相关截图(日志、错误):安装swoole扩展,显示正在安装 ,结束后,还是未安装状态。

PHP7.4  8.2  8.3安装swoole扩展不成功
使用道具 举报 只看该作者 回复
发表于 2023-12-28 11:12:40 | 显示全部楼层
请将执行日志截图出来看下
使用道具 举报 回复 支持 反对
发表于 2023-12-28 11:13:46 | 显示全部楼层
日志截图
微信图片_20231228104942.png
微信图片_20231228111255.png
使用道具 举报 回复
发表于 2023-12-28 11:15:47 | 显示全部楼层
| ^
| )
109 | "std::set must have a non-const, non-volatile value_type");
| ~
/usr/include/c++/10/bits/stl_set.h:112:62: error: expected ‘(’ before ‘;’ token
112 | "std::set must have the same value_type as its allocator");
| ^
| (
/usr/include/c++/10/bits/stl_set.h:112:62: error: expected primary-expression before ‘;’ token
/usr/include/c++/10/bits/stl_set.h:111:20: error: expected ‘,’ before ‘;’ token
111 | static_assert(is_same::value,
| ^
| ,
112 | "std::set must have the same value_type as its allocator");
| ~
/usr/include/c++/10/bits/stl_set.h:112:62: error: expected string-literal before ‘;’ token
112 | "std::set must have the same value_type as its allocator");
| ^
/usr/include/c++/10/bits/stl_set.h:111:20: error: expected ‘)’ before ‘;’ token
111 | static_assert(is_same::value,
| ^
| )
112 | "std::set must have the same value_type as its allocator");
| ~
In file included from /usr/include/c++/10/set:62,
from /root/swoole-5.1.0/include/swoole_util.h:26,
from /root/swoole-5.1.0/include/swoole_coroutine.h:26,
from /root/swoole-5.1.0/ext-src/php_swoole_coroutine.h:22,
from /root/swoole-5.1.0/ext-src/php_swoole_cxx.h:20,
from /root/swoole-5.1.0/ext-src/php_swoole.cc:16:
/usr/include/c++/10/bits/stl_multiset.h:111:67: error: expected ‘(’ before ‘;’ token
111 | "std::multiset must have a non-const, non-volatile value_type");
| ^
| (
/usr/include/c++/10/bits/stl_multiset.h:111:67: error: expected primary-expression before ‘;’ token
/usr/include/c++/10/bits/stl_multiset.h:110:20: error: expected ‘,’ before ‘;’ token
110 | static_assert(is_same::type, _Key>::value,
| ^
| ,
111 | "std::multiset must have a non-const, non-volatile value_type");
| ~
/usr/include/c++/10/bits/stl_multiset.h:111:67: error: expected string-literal before ‘;’ token
111 | "std::multiset must have a non-const, non-volatile value_type");
| ^
/usr/include/c++/10/bits/stl_multiset.h:110:20: error: expected ‘)’ before ‘;’ token
110 | static_assert(is_same::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::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::value,
| ^
| )
114 | "std::multiset must have the same value_type as its allocator");
| ~
In file included from /root/swoole-5.1.0/ext-src/php_swoole_coroutine.h:35,
from /root/swoole-5.1.0/ext-src/php_swoole_cxx.h:20,
from /root/swoole-5.1.0/ext-src/php_swoole.cc:16:
/usr/include/c++/10/thread: In constructor ‘std::thread::thread(_Callable&&, _Args&& ...)’:
/usr/include/c++/10/thread:138:5: error: expected ‘(’ before ‘;’ token
138 | );
| ^
| (
/usr/include/c++/10/thread:138:5: error: expected primary-expression before ‘;’ token
/usr/include/c++/10/thread:135:15: error: expected ‘,’ before ‘;’ token
135 | static_assert( __is_invocable::type,
| ^
| ,
......
138 | );
| ~
/usr/include/c++/10/thread:138:5: error: expected string-literal before ‘;’ token
138 | );
| ^
/usr/include/c++/10/thread:135:15: error: expected ‘)’ before ‘;’ token
135 | static_assert( __is_invocable::type,
| ^
| )
......
138 | );
| ~
make: *** [Makefile:210: ext-src/php_swoole.lo] Error 1
error
|-Successify --- 命令已执行! ---
使用道具 举报 回复 支持 反对
发表于 2024-1-3 17:31:19 | 显示全部楼层
阿珂 发表于 2023-12-28 11:12
请将执行日志截图出来看下

麻烦帮忙看一下。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表