Bug #47411 /bin/rm: cannot remove `libtoolT': No such file or dire
Submitted: 17 Sep 2009 11:35 Modified: 18 Sep 2009 6:45
Reporter: Meng Wang Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.4.1 OS:Any
Assigned to: CPU Architecture:Any
Tags: libtool

[17 Sep 2009 11:35] Meng Wang
Description:
I have CentOS 5.3 32bit,autoconf 2.63 automake 1.10.2.
tody i want to compiling to mysql 5.4.1-beta

tested libtool 1.5.22 or 1.5.26 or 2.2.6a
tested automake 1.8.1 | 1.11
tested autoconf 2.63 | 2.64

in configure get error messange:

/bin/rm: cannot remove `libtoolT': No such file or dir

[root@cloud mysql-5.4.1-beta]# ./libtool --version
ltmain.sh (GNU libtool) 2.2.6
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

How to repeat:
wget http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz
tar xvf libtool-2.2.6a.tar.gz
cd libtool-2.2.6
./configure --prefix=/usr
make && make install
---

wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.63.tar.gz
tar xvf autoconf-2.63.tar.gz
cd autoconf-2.63
./configure --prefix=/usr
make && make install

wget http://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz
tar xvf automake-1.10.2.tar.gz
cd automake-1.10.2
./configure --prefix=/usr 
make && make install

wget http://ftp.gnu.org/gnu/m4/m4-latest.tar.gz
tar xvf m4-latest.tar.gz
cd m4-latest
CC=gcc Cxx=g++ ./configure --prefix=/usr
make && make install 

./confiugre
[17 Sep 2009 11:58] Meng Wang
why run ./libtool --version it 2.2.6???

my libtool it's 1.5.26.

[root@cloud mysql-5.4.1-beta]# libtool --version
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)
[17 Sep 2009 16:08] Sveta Smirnova
Thank you for the report.

libtool version 2.2.6 does not work with MySQL. Please sort out your libtool installations, then try with libtool version 1.5.26 and inform us if problem still exists.
[17 Sep 2009 16:13] Sveta Smirnova
I am sorry, was wrong. Please ignore part about libtool 2.2.6: it is supported.

Still please be sure if installations of libtool don't conflict with each other.
[17 Sep 2009 16:19] Sveta Smirnova
Please also send config.log file: installation like yours should work.
[18 Sep 2009 2:25] Meng Wang
http://67.43.62.219/config.log ,please.
[18 Sep 2009 6:45] Sveta Smirnova
Thank you for the feedback.

Config.log provided does not contain such error.

Also "/bin/rm: cannot remove `libtoolT':" message means some of auto* and m4 files are not properly updated when one installs libtool 2.2.x. So this is not MySQL bug anyway. Please fix your autotools installation when you see this error next time.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523750 for how to fix.