aka134652 发表于 2022-8-12 17:08:01

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

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


licess 发表于 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: *** 错误 1


。。。。。。
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: *** 错误 1
麒麟系统自带gcc 7.3版本,版本太低,可以尝试升级到gcc 8.x或更高版本后再安装
页: [1]
查看完整版本: 麒麟系统使用lnmp1.9安装MySQL 8 失败