安装R-XML包时出现Cannot find xml2-config的问题解决
来源:互联网 发布:网络直播监督平台 编辑:程序博客网 时间:2024/05/17 08:14
在Fedora14下安装tm包作文本挖掘处理,时tm包是依赖于XML包的。但在XML包的安装过程中会出现以下的问题:
>install.packages("XML")
....
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package XML
* removing /home/abraham/R/i686-pc-linux-gnu-library/2.13/XML
The downloaded packages are in
/tmp/RtmpUsckPl/downloaded_packages
Warning message:
In install.packages() :
installation of package 'XML' had non-zero exit status
这时候,需要手动安装libxml2.tar.gz(CSDN上就有得下载http://download.csdn.net/detail/sunrise2199/3798337)
安装后 tar -zxvf libxml2.tar.gz
cd libxml2
./config
make
make install即可。
再重新安装XML(install.packages("XML"))包即可完成。
我在网上看了一下这个问题同样会出现在安装PHP,MySQL的情况下。缠绕我一晚上的问题终于解决了,小开心一下,我是Linux小菜鸟,嘿嘿。。。
- 安装R-XML包时出现Cannot find xml2-config的问题解决
- 在 R 中安装 XML包 报错 cannot find xml2-config
- 安装php时的报错 xml2-config not found.
- 安装PHP时显示,xml2-config not found怎么办
- centos7 安装 gflags 出现config.status: error: cannot find input file: src/Makefile.in
- Ubuntu下R包XML的安装
- 安装openssl 扩展的时候出现Cannot find config.m4. Make sure that you run '/usr/local/php/bin/phpize' in the to
- 编译php扩展出现错误:Cannot find config.m4
- 解决centos中安装pdo_dblib时出现的"Cannot find FreeTDS in known installation directories"错误
- 问题解决:打开word2010时出现“Cannot find the Word template:WordToRqm.dot”
- pecl 安装php 扩展时报错Cannot find config.m4.
- 解答:一个perl操作config.ini的出现的 cannot find file or dirctionary,可明明文件存在
- R包的安装
- 安装VisualDSP++出现Install cannot proceed.Could not find XML file or the XML file may be corrupted!
- 安装VisualDSP++出现Install cannot proceed.Could not find XML file or the XML file may be corrupted!
- 关于在Eclipse中启动Weblogic服务器时出现Parsing Failure in config.xml问题解决方法
- ubuntu安装php出错: xml2-config not found
- Cannot find linux/config.h
- 运算符的执行顺序
- C/C++变量在内存中的分布
- Excel数据被截断为 255 个字符
- 如何做好软件架构设计
- SAS备忘录:format和informat
- 安装R-XML包时出现Cannot find xml2-config的问题解决
- hdu 1085
- javascript 匿名函数的理解,js括号中括function 如(function(){})
- Git学习教程(三):Git工作流程
- ZOJ1905
- 使用 SAS 日期和时间
- Oracle的体系结构(五)进程结构
- openrtsp 当成tcpmp插件时内存管理
- Linux下修改PATH路径