MsSQL
发布时间:2022-05-16 发布网站:大佬教程 code.js-code.com
大佬教程收集整理的这篇文章主要介绍了mysql-5.5.28源码安装过程中错误总结,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
介绍一下关于MysqL-5.5.28源码@R_337_9382@几大错误总结,希望此文章对各位同学有所帮助。
系统centOS 6.3 mini (没有任何编译环境)
预编译环境首先装了众所周知的 cmake(yum install cmake -y)
复制代码 代码如下:
、./bootstrap Error when bootstrapping CMake: C
Annot find appropriate C compiler on this syste
m. 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 (
messaG
E):
curses library not found. Please install appropriate package,
remove CMakeCache.txt and rerun cmake
.on Debian/Ubuntu,package name is libn
curses5-dev,on Redhat and derivates
it is n
curses-deve
l.
果断的又懵了,不知道哪里
出了问题,猜是什么包没有装吧,最后才看懂On Debian/Ubuntu,on Redhat and derivates
it is n
curses-deve
l.这两句,OK装了n
curses-devel这个包(yum install n
curses-devel -y)
Warning: Bison executable not found in PATH
总算顺利的配置成功了,提示一个警告,不能放过,一查是缺少Bison,简单了(yum install bison -y)安装解决!接着就make;make install啦!很幸运,顺利完成!
大佬总结
以上是大佬教程为你收集整理的mysql-5.5.28源码安装过程中错误总结全部内容,希望文章能够帮你解决mysql-5.5.28源码安装过程中错误总结所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。