编译安装apr 1.5.2 时报 rm: cannot remove `libtoolT': No such file or directory

简介:

  今天在编译安装apr-1.5.2 的时候执行./configure --prefix=/usr/local/apr 的时候报了一个这么样的信息

 “ rm: cannot remove `libtoolT': No such file or directory”,详细如下图:

wKioL1fNFBuwzcXWAAC00jIhBuM115.jpg-wh_50


解决过程:


1、网上看了一下,有很多人使用如下三个命令解决了,但是我执行了一下,结果在重新./configure --prefix=/usr/local/apr 的时候还是报这个错误。

网上流传的三个命令如下:

# autoreconf --force --install

# libtoolize --automake --force

# automake --force --add-missing


2、检查libtool-2.2.6-15.5.el6.x86_64 包我是安装了的

wKioL1fNHs_h1Q30AABJwkYvtL4105.jpg-wh_50


3、后来编辑configure文件找到$RM 然后加入一个 -f 解决

wKioL1fNFO6xa8vNAABFPHjDEtc582.jpg-wh_50


总结:

   实际上我感觉只是将这条信息屏蔽了而已,因为从下图可以看出RM是被赋予rm 命令的,但是我并没有真正的搞懂问题所在,因为rm -f 不管文件是否存在都不会返回信息,可能后续有时间在详细的看看configure 的整体过程才能了解。先安装上在说吧。

wKiom1fNFe2TwhC3AABgoCdHHx4889.jpg-wh_50


如哪位有更好的办法或者原理讲解的话还请不吝赐教!~ 在此谢过了



本文转自 yuri_cto 51CTO博客,原文链接:http://blog.51cto.com/laobaiv1/1846414,如需转载请自行联系原作者
相关文章
|
4天前
|
Python
yum 安装报错 File "/usr/bin/yum", line 30
yum 安装报错 File "/usr/bin/yum", line 30
17 0
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
165 0
|
缓存 关系型数据库 MySQL
解决CentOS执行yum命令出现File contains parsing errors:file:///etc/yum.repos.d/CentOS-Base.repo
解决CentOS执行yum命令出现File contains parsing errors:file:///etc/yum.repos.d/CentOS-Base.repo
解决CentOS执行yum命令出现File contains parsing errors:file:///etc/yum.repos.d/CentOS-Base.repo
未解决:lrelease: could not exec ‘/usr/lib/qt5/bin/lrelease‘: No such file or directory
未解决:lrelease: could not exec ‘/usr/lib/qt5/bin/lrelease‘: No such file or directory
157 0
Can‘t exec “aclocal“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
Can‘t exec “aclocal“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
260 0
Can‘t exec “autopoint“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
Can‘t exec “autopoint“: 没有那个文件或目录 at /usr/share/autoconf/Autom4te/FileUtils.pm line 345.
404 0
|
Perl
/usr/bin/sed: No such file or directory
/usr/bin/sed: No such file or directory
130 0
|
监控 Linux Python
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
115 0
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
|
Linux
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory
138 0
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory
CentOS cp 复制隐藏文件提示 cp: cannot stat ?.xxx*?. No such file or directory
执行的命令与错误信息: # cp -a /etc/skel/* /home/postgrescp: cannot stat ?.etc/skel/*?. No such file or directory 使用cp复制普通文件时,可以使用 * 号通配符,而在复制隐藏文件时,需要使用.
4319 0