[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug: cannot remove `libtoolT': No such file or directory

From: Richard Hacker
Subject: Bug: cannot remove `libtoolT': No such file or directory
Date: Fri, 19 Mar 2010 12:51:58 +0100
User-agent: KMail/1.12.2 (Linux/2.6.31-14-generic; KDE/4.3.2; i686; ; )

Hi all

When config.status is called by the configure script, I get the following error 
config.status: executing libtool commands
/bin/rm: cannot remove `libtoolT': No such file or directory

The problem appears because I have the statement:
in my configure script, which defines the variable RM. Libtool also uses this 
variable as well, and looking at libtool.m4, it defines it as
RM="rm -f"

This is quite unfortunate. Maybe it would be better if the RM in libtool.m4 
(as well as CP and MV) is left at the value expected by the user, i.e. 'rm' 
and not 'rm -f', Another option would be to open a namespace for variables 
used in libtool, such as _LT_RM="rm -f". This would then not overwrite other 
global namespaces and cause unexpected behaviour.

I would have liked to send a patch instead of simply "complaining", but I was 
stumped by the line 746 in version 2.2.6b (RM='$RM') and do not know how this 
fits into the rest of the picture. I am not stable enough in libtool to be able 
to deal with all the consequences of changing this.

As a workaround, I am using the line
in my confugure.ac


Libtool version: 2.2.6a

reply via email to

[Prev in Thread] Current Thread [Next in Thread]