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


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

匿名进行回复 取消回复

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