时间:2021-07-01 10:21:17 帮助过:20人阅读
编译MySQL5源码提示 No curses/termcap library found,但安装curses termcap都提示已经安装。编译时加上路径即可解决,即./conf
编译MySQL5源码提示 No curses/termcap library found,但安装curses termcap都提示已经安装。
编译时加上路径即可解决,,即
./configure –with-named-curses-libs=/usr/lib/libncurses.so.5
以上为CentOS 5.2,如果是Ubuntu,需要安装.sudo apt-get install libncurses5-dev
编译代码:
/usr/sbin/groupadd mysql
/usr/sbin/useradd -g mysql mysql
tar zxvf mysql-5.1.35.tar.gz
cd mysql-5.1.35/
./configure –prefix=/usr/local/webserver/mysql/ –enable-assembler –with-extra-charsets=complex –enable-thread-safe-client –with-big-tables –with-readline –with-ssl –with-embedded-server –enable-local-infile –with-plugins=innobase
make && make install
chmod +w /usr/local/webserver/mysql
chown -R mysql:mysql /usr/local/webserver/mysql
cd ../