Sometimes while compiling some tools or source code in linux we may face an error like this

“cannot remove `libtoolT’: No such file or directory”.

A quick fix for that error is, edit the configure file search for the line containing  $RM  “$cfgfile”, replace it  with $RM  -f  “$cfgfile”

I faced this issue while compiling apache httpd server and php.

This fix worked for me. 🙂