饿虎岗资源网 Design By www.oxmxm.com

介绍一下关于mysql-5.5.28源码安装过程中几大错误总结,希望此文章对各位同学有所帮助。
系统centOS 6.3 mini (没有任何编译环境)
预编译环境首先装了众所周知的 cmake(yum install cmake -y)
复制代码 代码如下:
、./bootstrap Error when bootstrapping CMake: Cannot find appropriate C compiler on this system. Please specify one using environment variable CC. See cmake_bootstrap.log for compilers attempted.

好吧还是没准备充分,发现c编译程序没装,也就是GCC了,那就装上(yum install gcc -y)
复制代码 代码如下:
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.


额,这个算是个人新遇见的错误了,到处查找资料,总算明白了,原来了还有一个c++的编译程序没装,好吧(yum install gcc-c++ -y),然后发现已经生成CMakeCache.txt文件了。没办法,删了(rm -rf CMakeCache.txt)继续编译!
复制代码 代码如下:
CMake Error at cmake/readline.cmake:82 (MESSAGE):
Curses library not found.  Please install appropriate package,
remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.


果断的又懵了,不知道哪里出了问题,猜是什么包没有装吧,最后才看懂On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.这两句,OK装了ncurses-devel这个包(yum install ncurses-devel -y)
Warning: Bison executable not found in PATH
总算顺利的配置成功了,提示一个警告,不能放过,一查是缺少Bison,简单了(yum install bison -y)安装解决!接着就make;make install啦!很幸运,顺利完成!

饿虎岗资源网 Design By www.oxmxm.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
饿虎岗资源网 Design By www.oxmxm.com

RTX 5090要首发 性能要翻倍!三星展示GDDR7显存

三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。

首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。

据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。

更新日志