源代碼編譯安裝mysql出現No curses/termcap library found

 今天在源代碼編譯安裝mysql出現的錯誤:
checking for termcap functions library... configure: error: No curses/termcap library found
 
解決方法:
        (1)經過安裝:ncurses-devel.***.rpm 包解決
       
        (2)去下載一個ncurses-5.6.tar.gz,
                 wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz                  tar zxvf ncurses-5.6.tar.gz                  cd ncurses-5.6                 ./configure –prefix=/usr  --with-shared  --without-debug                  make                  make install clean                 而後再從新編譯Mysql進行安裝。
相關文章
相關標籤/搜索