VPS侦探论坛

 找回密码
 注册
查看: 404|回复: 1

麒麟系统使用lnmp1.9安装MySQL 8 失败

[复制链接]
发表于 2022-8-12 17:08:01 | 显示全部楼层 |阅读模式

如题,麒麟系统版本是Kylin Linux Advanced Server release V10,使用的lnmp1.9安装包,安装MySQL 8,然后安装失败


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云VPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-8-13 08:26:54 | 显示全部楼层


[ 15%] Building CXX object router/src/harness/src/CMakeFiles/harness-archive.dir/config_option.cc.o
In file included from /opt/packages/lnmp1.9-full/src/mysql-8.0.29/router/src/harness/src/config_option.cc:25:0:
/opt/packages/lnmp1.9-full/src/mysql-8.0.29/router/src/harness/src/../include/mysql/harness/config_option.h:28:10: 致命错误:charconv:没有那个文件或目录
#include <charconv>  // from_chars
          ^~~~~~~~~~
编译中断。
make[2]: *** [router/src/harness/src/CMakeFiles/harness-archive.dir/build.make:122:router/src/harness/src/CMakeFiles/harness-archive.dir/config_option.cc.o] 错误 1


。。。。。。
[  2%] Building CXX object extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o
/opt/packages/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc: 在构造函数‘constexpr google::protobuf::AnyDefaultTypeInternal::AnyDefaultTypeInternal()’中:
/opt/packages/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc:27:76: 错误:temporary of non-literal type ‘google::protobuf::Any’ in a constant expression
     : _instance(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized{}) {}
                                                                            ^
In file included from /opt/packages/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.cc:4:0:
/opt/packages/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.h:68:23: 附注:‘google::protobuf::Any’ is not literal because:
class PROTOBUF_EXPORT Any final :
                       ^~~
/opt/packages/lnmp1.9-full/src/mysql-8.0.29/extra/protobuf/protobuf-3.19.4/src/google/protobuf/any.pb.h:68:23: 附注:  ‘google::protobuf::Any’ has a non-trivial destructor
make[2]: *** [extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/build.make:492:extra/protobuf/protobuf-3.19.4/cmake/CMakeFiles/libprotobuf.dir/__/src/google/protobuf/any.pb.cc.o] 错误 1

麒麟系统自带gcc 7.3版本,版本太低,可以尝试升级到gcc 8.x或更高版本后再安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2022-10-7 19:28 , Processed in 0.035224 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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