Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2766561
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: 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 ##后面为当前机器的主机名

阅读(12058) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~