mysql-5.5.28源碼裝置進程中毛病總結。本站提示廣大學習愛好者:(mysql-5.5.28源碼裝置進程中毛病總結)文章只能為提供參考,不一定能成為您想要的結果。以下是mysql-5.5.28源碼裝置進程中毛病總結正文
引見一下關於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啦!很榮幸,順遂完成!