MySQL 5.1.42 configure 错误一例

作者:Hily 原始链接:http://hily.me/blog/2010/01/mysql-5-1-42-configure-error/
版权声明:可以转载,转载时务必以超链接形式标明文章原始出处作者信息版权声明

./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 --

已经有 2 条评论 »

  1. 流浪猫 说道:

    2010年03月03日 15:28

    就是这样的,网上都不管用

  2. junguo 说道:

    2010年07月21日 20:45

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

发表一下您的高见

If you have any question, or for the language problem, please fell free to leave a comment or just contact me with email: hilyjiang [At] Gmail.