甲骨文ARM服务器编译安装AMH7.0失败

系统是dd安装的debian 11
我是用如下命令编译安装的,只是修改了节点和不部署软件。

export CV=[USA] DV=N && wget http://dl.amh.sh/amh.sh && bash amh.sh nginx-1.20,mysql-5.5,php-7.4

mysql编译有问题
错误如下:

[ 63%] Building CXX object storage/perfschema/unittest/CMakeFiles/pfs_instr-t.dir/pfs_instr-t.cc.o
[ 63%] Linking CXX executable pfs_instr-t
[ 63%] Built target pfs_instr-t
[ 64%] Built target audit_null
[ 64%] Built target auth
[ 64%] Built target qa_auth_interface
[ 65%] Built target qa_auth_client
[ 65%] Built target qa_auth_server
[ 65%] Built target auth_socket
[ 65%] Built target auth_test_plugin
[ 65%] Built target daemon_example
[ 65%] Built target ftexample
[ 66%] Built target semisync_slave
[ 66%] Built target semisync_master
[ 67%] Built target vio
[ 68%] Built target regex
[ 68%] Built target thr_lock
[ 68%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o
/tmp/mysql-5.5.62/sql-common/client_plugin.c: In function 'mysql_client_plugin_init':
/tmp/mysql-5.5.62/sql-common/client_plugin.c:252:40: error: incompatible type for argument 5 of 'add_plugin'
  252 |     add_plugin(&mysql, *builtin, 0, 0, 0);
      |                                        ^
      |                                        |
      |                                        int
/tmp/mysql-5.5.62/sql-common/client_plugin.c:121:30: note: expected 'va_list' but argument is of type 'int'
  121 |            int argc, va_list args)
      |                      ~~~~~~~~^~~~
/tmp/mysql-5.5.62/sql-common/client_plugin.c: In function 'mysql_client_register_plugin':
/tmp/mysql-5.5.62/sql-common/client_plugin.c:310:45: error: incompatible type for argument 5 of 'add_plugin'
  310 |     plugin= add_plugin(mysql, plugin, 0, 0, 0);
      |                                             ^
      |                                             |
      |                                             int
/tmp/mysql-5.5.62/sql-common/client_plugin.c:121:30: note: expected 'va_list' but argument is of type 'int'
  121 |            int argc, va_list args)
      |                      ~~~~~~~~^~~~
make[2]: *** [libmysql/CMakeFiles/clientlib.dir/build.make:147: libmysql/CMakeFiles/clientlib.dir/__/sql-common/client_plugin.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2592: libmysql/CMakeFiles/clientlib.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
chmod: cannot access '/usr/local/mysql-5.5': No such file or directory
chown: cannot access '/usr/local/mysql-5.5': No such file or directory
/root/amh/modules/mysql-5.5/AMHScript: line 66: /usr/local/mysql-5.5/scripts/mysql_install_db: No such file or directory
chmod: cannot access '/home/usrdata/mysql-5.5': No such file or directory
chown: cannot access '/home/usrdata/mysql-5.5': No such file or directory
sed: can't read /usr/local/mysql-5.5/support-files/mysql.server: No such file or directory
/root/amh/modules/mysql-5.5/AMHScript: line 70: /usr/local/mysql-5.5/support-files/mysql.server: No such file or directory
/root/amh/modules/mysql-5.5/AMHScript: line 73: /usr/local/mysql-5.5/bin/mysqladmin: No such file or directory
/root/amh/modules/mysql-5.5/AMHScript: line 75: /usr/local/mysql-5.5/bin/mysql: No such file or directory
[Notice] mysql-5.5 is not installed.
==========================================================================
抱歉。安装 AMH 失败了,
如有需要帮助安装,请联系我们: https://amh.sh/bbs/forum.htm
==========================================================================
阅读 1.7k
1 个回答

这个mysql5.5在ARM架构下的client_plugin问题是早有修复的了,
估计你dd安装的系统有问题,无法判断是ARM系统了。

使用uname -m命令,确认你系统是否是arm的。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题