器量大者,福泽必厚
全部博文(587)
分类: LINUX
2015-08-06 20:03:36
CMake Error: your CXX compiler: “CMAKE_CXX_COMPILER-NOTFOUND” was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
解决方法:
yum install gcc-c++
Mysql5.6下的依赖要先安装:
yum -y install ncurses-devel openssl-devel
yum -y install tcp_wrappers-devel bison-devel bison
yum -y install gcc-c++
yum -y install cmake
遇到另外一个问题:
[root@backupcodis mysql]# ./scripts/mysql_install_db --user=mysql
WARNING: The host 'backupcodis.jdd.com' could not be looked up with ./bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !
解决方法:
在/etc/hosts文件中加入:
127.0.0.1 backupcodis.j**.com ##后面为当前机器的主机名