宝塔用户_jdrnsm 发表于 2023-12-28 10:49:01

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

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Linux免费版8.0.4
系统版本: Alibaba Cloud Linux release 3
问题描述:PHP7.48.28.3安装swoole扩展不成功
相关截图(日志、错误):安装swoole扩展,显示正在安装 ,结束后,还是未安装状态。
PHP7.48.28.3安装swoole扩展不成功

阿珂 发表于 2023-12-28 11:12:40

请将执行日志截图出来看下

宝塔用户_jdrnsm 发表于 2023-12-28 11:13:46

日志截图

宝塔用户_jdrnsm 发表于 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: *** Error 1
error
|-Successify --- 命令已执行! ---

宝塔用户_jdrnsm 发表于 2024-1-3 17:31:19

阿珂 发表于 2023-12-28 11:12
请将执行日志截图出来看下

麻烦帮忙看一下。
页: [1]
查看完整版本: 【待反馈】PHP7.4 8.2 8.3安装swoole扩展不成功