Installation is failing for MariaDB.
Please see below for the tail of the build output.
The version selected is MariaDB 10.6, but similar results appear for other versions in the series 10.x. The fast option was enabled. The system runs aaPanel 6.8.29, and CentOS 7.
Precompiled distributions are not being accepted for installation by aaPanel, because the host has only one core. An error message indicates that two cores or more are required to install downloaded binaries.
Scanning dependencies of target partition
[ 20%] Building CXX object sql/CMakeFiles/partition.dir/ha_partition.cc.o
In file included from /www/server/mysql/src/include/my_byteorder.h:38:0,
from /www/server/mysql/src/include/my_global.h:1034,
from /www/server/mysql/src/sql/mariadb.h:29,
from /www/server/mysql/src/sql/ha_partition.cc:49:
/www/server/mysql/src/sql/ha_partition.cc: In member function ‘bool ha_partition::read_par_file(const char*)’:
/www/server/mysql/src/include/byte_order_generic_x86_64.h:35:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define uint4korr(A) (uint32) (*((uint32 *) (A)))
^
/www/server/mysql/src/sql/ha_partition.cc:3119:14: note: in expansion of macro ‘uint4korr’
len_words= uint4korr(buff);
^
/www/server/mysql/src/include/byte_order_generic_x86_64.h:35:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define uint4korr(A) (uint32) (*((uint32 *) (A)))
^
/www/server/mysql/src/sql/ha_partition.cc:3166:28: note: in expansion of macro ‘uint4korr’
connect_string.length= uint4korr(buffer);
^
[ 20%] Linking CXX static library libpartition.a
[ 20%] Built target partition
Scanning dependencies of target sql
[ 20%] Building CXX object sql/CMakeFiles/sql.dir/yy_mariadb.cc.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/yy_mariadb.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
========================================================
CentOS Linux release 7.9.2009 (Core)
Bit:64 Mem:990M Core:1 gcc:4.8.5 cmake:2.8.12.2
Linux 3.10.0-1160.92.1.el7.x86_64 x86_64
ERROR: mysql mariadb_10.7 installation failed.
安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
或手机访问以下链接、扫码联系企业微信技术求助
帖子或企业微信注明企业版用户,将获得极速响应技术支持
============================================
联系链接:https://work.weixin.qq.com/kfid/kfc9072f0e29a53bd52