编译安装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,如需转载请自行联系原作者
相关文章
|
应用服务中间件
./configure *: No such file or directory
今天在CentOS下安装Nginx时,遇到了类似以下的问题: ./configure auto/unix: No such file or directory ./configure auto/options: No such file or directory 之前在另一台服务器上安装的时候也没有遇到此问题, 安装过程参考:CentOS6.5下Nginx1.7.4安装记录 于是网上搜索解决方案,但是搜索了很久也没有找到解决方案, 当我使用“mkdir auto/unix”之后,还是提示类似的错误,但目录名又变了。
3268 0
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: 没有那个文件或目录)
245 0
|
5月前
|
Python
yum 安装报错 File "/usr/bin/yum", line 30
yum 安装报错 File "/usr/bin/yum", line 30
129 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>
153 0
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
|
C语言 Python Windows
gcc: error: /FIPython.h: File o directory non esistente
gcc: error: /FIPython.h: File o directory non esistente
114 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.
447 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.
320 0
未解决: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
226 0
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复制普通文件时,可以使用 * 号通配符,而在复制隐藏文件时,需要使用.
4574 0
|
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
175 0
【Linux】locate: can not stat () `/var/lib/mlocate/mlocate.db‘: No such file or directory