centos6.8下编译libxml2或者其他文件时报cannot remove `libtoolT': No such file or directory
来源:互联网 发布:10年前你错过了淘宝 编辑:程序博客网 时间:2024/06/07 17:57
因为在centos7中并没有发现这个问题存在,所以猜测7以下版本存在这个问题。
先尝试第一种解决方案:
在执行./configure 之前,先执行:
# autoreconf --force --install
# libtoolize --automake --force
# automake --force --add-missing
因为没有安装
automake 工具,
yim install autoconf automake libtool -y
如果第一个方案无法解决问题,那么,放大招:
拿我碰到的libxml2编译时的问题来说:
先注意如下行:
5752 : ${CP="cp -f"}
5753 : ${MV="mv -f"}
5754 : ${RM="rm -f"}
这里其实定义了RM 命令为rm -f的,但就是报错了,没招儿啊,所以只能放大:往下看:
编辑所需要编译文件的 configure文件,找到造成报错问题的所在行,然后#号注释掉
如我遇到的libtoolT
23143 PACKAGE='$PACKAGE'
23144 VERSION='$VERSION'
23145 TIMESTAMP='$TIMESTAMP'
23146 RM='$RM -r'
23147 ofile='$ofile'
23968 "libtool":C)
23969
23970 # See if we are running on zsh, and set the options which allow our
23971 # commands through without removal of \ escapes.
23972 if test -n "${ZSH_VERSION+set}" ; then
23973 setopt NO_GLOB_SUBST
23974 fi
23975
23976 cfgfile="${ofile}T"
23977 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23978 $RM "$cfgfile"
23979
行数太多没太看逻辑,因为毕竟在第5754行是设置了RM='rm -f' 的
- centos6.8下编译libxml2或者其他文件时报cannot remove `libtoolT': No such file or directory
- Could not compile libxml2: /bin/rm: cannot remove `libtoolT': No such file or directory
- 【转】Centos 安装libxml2 "bin/rm: cannot remove `libtoolT': No such file or directory
- rm: cannot remove `libtoolT': No such file or directory
- /bin/rm: cannot remove `libtoolT': No such file or directory
- cannot remove `libtoolT': No such file or directory
- cannot remove `libtoolT': No such file or directory
- 编译APR包的时候出现 rm: cannot remove `libtoolT': No such file or directory
- Centos 6.5 编译安装 apr-1.5.2 rm: cannot remove `libtoolT': No such file or directory
- Linux 下安装libxml出现cannot remove `libtoolT': No such file or directory Done
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- MYsql 5.1 安装过程报错 /bin/rm: cannot remove `libtoolT': No such file or directory
- /bin/rm: cannot remove `libtoolT’: No such file or directory 解决方案
- 安装插件libxstl遇到的/bin/rm: cannot remove `libtoolT’: No such file or directory
- rm: cannot remove `libtoolT': No such file or directory 安装Apr出现的问题
- rm: cannot remove `libtoolT': No such file or directory 安装Apr出现的问题
- rm: cannot remove `libtoolT': No such file or directory 安装Apr出现的问题
- java中的异常抛出及自定义异常
- [概率论与数理统计&Python实现]简明教程
- ubuntu 禁用触摸板
- 笔记本怎么设置开机后数字键盘默认开启
- iPhone X 穿越回 1957 年计算力相当的电脑,将会是什么样?
- centos6.8下编译libxml2或者其他文件时报cannot remove `libtoolT': No such file or directory
- java实现矩阵乘法
- 时钟插件
- php创建多级目录完整封装类操作
- 木兰词·拟古决绝词柬友
- C++中引用&的相关知识
- 彩色的man pages,让你寻找帮助时也赏心悦目
- ANSI Common Lisp译本笔记3
- 前端开发中使用nginx跨域解决No Access-Control-Allow-Origin header localhost:63342 is not allowed access