VPS系统包括:centos6~7,debian,在这两个主机商的VPS中均一样的错误导致安装alisql失败。
配置为1g1核和1g2核
配置为1g1核和1g2核
[ 87%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/semisync_slave.cc.o
In file included from /root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:18:0:
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.h:87:18: error: ‘Master_info’ has not been declared
int slaveReply(Master_info* mi);
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.h:88:18: error: ‘Master_info’ has not been declared
int slaveStart(Master_info *mi);
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.h:89:17: error: ‘Master_info’ has not been declared
int slaveStop(Master_info *mi);
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.h:90:23: error: ‘Master_info’ has not been declared
int requestTransmit(Master_info*);
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.h:92:18: error: ‘Master_info’ has not been declared
int resetSlave(Master_info *mi);
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:85:35: error: ‘int ReplSemiSyncSlave::slaveStart’ is not a static member of ‘class ReplSemiSyncSlave’
int ReplSemiSyncSlave::slaveStart(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:85:35: error: ‘Master_info’ was not declared in this scope
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:85:48: error: ‘mi’ was not declared in this scope
int ReplSemiSyncSlave::slaveStart(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:86:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:104:34: error: ‘int ReplSemiSyncSlave::slaveStop’ is not a static member of ‘class ReplSemiSyncSlave’
int ReplSemiSyncSlave::slaveStop(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:104:34: error: ‘Master_info’ was not declared in this scope
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:104:47: error: ‘mi’ was not declared in this scope
int ReplSemiSyncSlave::slaveStop(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:105:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:113:35: error: ‘int ReplSemiSyncSlave::resetSlave’ is not a static member of ‘class ReplSemiSyncSlave’
int ReplSemiSyncSlave::resetSlave(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:113:35: error: ‘Master_info’ was not declared in this scope
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:113:48: error: ‘mi’ was not declared in this scope
int ReplSemiSyncSlave::resetSlave(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:114:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:147:40: error: ‘int ReplSemiSyncSlave::requestTransmit’ is not a static member of ‘class ReplSemiSyncSlave’
int ReplSemiSyncSlave::requestTransmit(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:147:40: error: ‘Master_info’ was not declared in this scope
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:147:53: error: ‘mi’ was not declared in this scope
int ReplSemiSyncSlave::requestTransmit(Master_info *mi)
^
/root/oneinstack/src/alisql-5.6.32-4/sql/semisync_slave.cc:148:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/semisync_slave.cc.o] Error 1
make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2
make: *** [all] Error 2
~/oneinstack/src ~/oneinstack
AliSQL install failed, Please contact the author!
Killed