mysql安裝報錯

一、編譯mysql報如下錯誤:
/bin/rm: cannot remove `libtoolt': No such file or directory
解決方法:
[root@localhost mysql-5.1.44]# vim configure
刪除$RM "$cfgfile" 這一行後重新編譯
從新編譯安裝,ok解決
網上說的如下的解決方法,但執行後沒法解決問題:
# autoreconf --force --install
# libtoolize --automake --force
# automake --force --add-missing
二、報錯內容
checking for termcap functions library... configure: error: No curses/termcap library found
解決
yum -y install ncurses-devel  (缺乏ncurses)
三、報錯內容
tions -fno-rtti -c -o my_new.o my_new.cc
在包含自 mysys_priv.h:16 的文件中,
                 從 my_new.cc:21:
../include/my_global.h:1516:15: 錯誤:new:沒有那個文件或目錄
In file included from mysys_priv.h:16,
                 from my_new.cc:21:
../include/my_global.h:1099: 錯誤:對 C++ 內建類型‘bool’的重聲明
make[1]: *** [my_new.o] 錯誤 1
make[1]: Leaving directory `/usr/local/src/mysql-5.1.44/mysys'
make: *** [all-recursive] 錯誤 1
解決
出現問題確定是在./configure後安裝的gcc
首先make clean all 再./configure  再make 
相關文章
相關標籤/搜索