编译安装mysql的过程遇到的问题

在手动编译安装mysql的过程中.发生错误如下:

configure: error: No curses/termcap library found

在网上找了很多的解决办法,发现以下这个正解,放上以备查用


解决方法:安装 ncurses-devel-5.5-XXXXXX.i386.rpm

 

注意版本问题,也许我们两个需要安装的版本不一样.

 

此外还有一种办法

./configure --prefix=/usr/local/mysql --with-charset=utf8  --with-collation=utf8_general_ci  --with-extra-charsets=all --with-plugins=all --enable-thread-safe-client --with-debug  --enable-assembler --with-named-curses-libs=/usr/lib/libncursesw.so.5

加入

--with-named-curses-libs=/usr/lib/libncursesw.so.5

posted on 2010-11-17 10:58  曹兵强  阅读(167)  评论(0编辑  收藏  举报