系统: Centos 7.9
构架 aarch64
RAM 8g
报错:
-- Running cmake version 3.23.0
-- Found Git: /bin/git (found version "1.8.3.1")
-- This is .el7. as found from 'rpm -qf /'
-- Looking for a devtoolset compiler
-- Configuring incomplete, errors occurred!
5.7 OK
(但是还想来个8.0)
使用ssh运行 amh 39 5
的日志
mysql-8.0.26/boost/boost_1_73_0/boost/visit_each.hpp
mysql-8.0.26/boost/boost_1_73_0/boost/wave.hpp
mysql-8.0.26/boost/boost_1_73_0/boost/weak_ptr.hpp
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- Running cmake version 3.23.0
-- Found Git: /bin/git (found version "1.8.3.1")
CMake Deprecation Warning at cmake/cmake_policies.cmake:59 (CMAKE_POLICY):
The OLD behavior for policy CMP0073 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:234 (INCLUDE)
-- This is .el7. as found from 'rpm -qf /'
-- Looking for a devtoolset compiler
CMake Warning at CMakeLists.txt:313 (MESSAGE):
Could not find devtoolset compiler in /opt/rh/devtoolset-10
CMake Error at CMakeLists.txt:315 (MESSAGE):
Please set CMAKE_C_COMPILER and CMAKE_CXX_COMPILER explicitly.
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
chmod: cannot access ‘/usr/local/mysql-8.0’: No such file or directory
chown: cannot access ‘/usr/local/mysql-8.0’: No such file or directory
/root/amh/modules/mysql-8.0/AMHScript: line 136: /usr/local/mysql-8.0/bin/mysqld: No such file or directory
chmod: cannot access ‘/home/usrdata/mysql-8.0’: No such file or directory
chown: cannot access ‘/home/usrdata/mysql-8.0’: No such file or directory
sed: can't read /usr/local/mysql-8.0/support-files/mysql.server: No such file or directory
/root/amh/modules/mysql-8.0/AMHScript: line 141: /usr/local/mysql-8.0/support-files/mysql.server: No such file or directory
/root/amh/modules/mysql-8.0/AMHScript: line 149: /usr/local/mysql-8.0/bin/mysql: No such file or directory
[Notice] mysql-8.0 is not installed.
安装返回的信息提供完整一些,看大概应该是要安装gcc-toolset / devtoolset软件包
与是否有改动过默认的gcc版本,
gcc -v
看下当前gcc版本信息。