在 CentOS 5.4 下编译安装MySQL时出错:
/bin/rm: cannot remove `libtoolt’: No such file or directory
网上搜寻后,解决问题。具体方法是:
在执行./configure 之前,先执行:
# autoreconf –force –install
# libtoolize –automake –force
# automake –force –add-missing
# ./configure –prefix=/usr/local/mysql/ –datadir=/var/lib/mysql
这次,不再出错了,问题解决。
顺便记录一下我的编译参数:
./configure –prefix=/usr/local/mysql/ –datadir=/var/lib/mysql –with-unix-socket-path=/tmp/mysql.sock –enable-assembler –with-extra-charsets=complex –enable-thread-safe-client –with-client-ldflags=all-static –with-mysqld-ldflags=all-static –with-big-tables –with-readline –with-ssl –with-embedded-server –enable-local-infile –with-plugins=innobase
版权所有,转载请注明出处。
转载自 <a href="http://www.yanghengfei.com/archives/201/" title="/bin/rm: cannot remove `libtoolT’: No such file or directory" rel="bookmark">/bin/rm: cannot remove `libtoolT’: No such file or directory | 星外飞客 </a>
我简单说几句