MySQL 5.1.42 configure 错误一例

./configure 时提示:

config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT’: No such file or directory
config.status: executing default commands

这时直接打开 configure,把 $RM “$cfgfile” 那行删除掉,重新再运行 ./configure 就可以了。
不过删除没删除,好像对编译没什么影响。

网上所说的那些方法根本不管用,如:

# aclocal
# autoconf
# automake
# libtoolize –force

或者:

# autoreconf –force –install
# libtoolize –automake –force
# automake –force –add-missing

这个也不行:

Note
For MySQL 5.1.12 and earlier, you must separately configure
the INNODB storage engine. You can do this by running the
following command from the main source directory:
shell> (cd storage/innobase; autoreconf –force –install)
shell> cd mysql-5.1
shell> autoreconf –force –install
shell> ./configure # Add your favorite options here
shell> make
Or you can use BUILD/autorun.sh as a shortcut for the
following sequence of commands:
shell> aclocal; autoheader
shell> libtoolize –automake –force
shell> automake –force –add-missing; autoconf
The command line that changes directory into the
storage/innobase directory is used to configure the InnoDB
storage engine. You can omit this lines if you do not require
InnoDB support.

— EOF —

114 thoughts on “MySQL 5.1.42 configure 错误一例”

  1. 这几天就为这个/bin/rm: cannot remove `libtoolT’: No such file or directory
    烦死了,我centos换了两个版本,mysql换了好几个,愣是都蹦出这个问题,从网上查出来的结果都没有用,mysql死活安不上,博主,可有解决办法,发给我邮箱,谢谢

匿名进行回复 取消回复

电子邮件地址不会被公开。 必填项已用*标注