- 积分
- 29
- 威望
-
- 金钱
-
- 注册时间
- 2018-9-16
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
一开始我发现我yum install make3并更新软连接后仍然会被脚本yun install cmake所安装的2.8所替代,动手清理了脚本安装cmake的代码后,安装过程中出现了以下问题
Scanning dependencies of target icuuc
[ 4%] Building CXX object extra/icu/source/common/CMakeFiles/icuuc.dir/appendable.cpp.o
c++: error: unrecognized command line option ‘-std=c++14’
make[2]: *** [extra/icu/source/common/CMakeFiles/icuuc.dir/appendable.cpp.o] Error 1
make[1]: *** [extra/icu/source/common/CMakeFiles/icuuc.dir/all] Error 2
make: *** [all] Error 2
[ 0%] Built target abi_check
[ 0%] Built target INFO_SRC
[ 0%] Built target INFO_BIN
[ 0%] Built target zlib
[ 1%] Built target edit
[ 2%] Built target event_core
[ 3%] Built target event_extra
[ 4%] Built target event
[ 4%] Building CXX object extra/icu/source/common/CMakeFiles/icuuc.dir/appendable.cpp.o
c++: error: unrecognized command line option ‘-std=c++14’
make[2]: *** [extra/icu/source/common/CMakeFiles/icuuc.dir/appendable.cpp.o] Error 1
make[1]: *** [extra/icu/source/common/CMakeFiles/icuuc.dir/all] Error 2
make: *** [all] Error 2
[ 0%] Built target abi_check
[ 0%] Built target INFO_SRC
[ 0%] Built target INFO_BIN
[ 0%] Built target zlib
[ 1%] Built target edit
[ 2%] Built target event_core
[ 3%] Built target event_extra
[ 4%] Built target event
[ 4%] Building CXX object extra/icu/source/common/CMakeFiles/icuuc.dir/appendable.cpp.o
c++: error: unrecognized command line option ‘-std=c++14’
make[2]: *** [extra/icu/source/common/CMakeFiles/icuuc.dir/appendable.cpp.o] Error 1
make[1]: *** [extra/icu/source/common/CMakeFiles/icuuc.dir/all] Error 2
make: *** [all] Error 2
groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
cp: cannot stat ‘/usr/local/mysql/var/*’: No such file or directory
include/mysql.sh: line 711: /usr/local/mysql/bin/mysqld: No such file or directory
ldconfig: /usr/lib64/libstdc++.so.6.0.25-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
ldconfig: /usr/lib64/libstdc++.so.6 is not a symbolic link
mysql.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mysql on
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 50: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh: line 63: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 681: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql: line 239: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql: line 239: my_print_defaults: command not found
ERROR! MySQL server PID file could not be found!
Clean database src directory...
|
|