无法在Ubuntu 13.10上安装choroplethr包,错误说:“rm:无法删除'a.out.dSYM':是一个目录”

时间:2014-05-08 22:37:20

标签: r install.packages choroplethr

我正在尝试在R中安装choroplethr包。

> install.packages("choroplethr")
Installing package into ‘/home/matt/R/x86_64-pc-linux-gnu-library/3.0’
* installing *source* package ‘XML’ ...
** package ‘XML’ successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... 
rm: cannot remove 'a.out.dSYM': Is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for sed... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
* removing ‘/home/matt/R/x86_64-pc-linux-gnu-library/3.0/XML’
Warning in install.packages :
  installation of package ‘XML’ had non-zero exit status
ERROR: dependency ‘XML’ is not available for package ‘acs’
* removing ‘/home/matt/R/x86_64-pc-linux-gnu-library/3.0/acs’
Warning in install.packages :
  installation of package ‘acs’ had non-zero exit status
ERROR: dependency ‘acs’ is not available for package ‘choroplethr’
* removing ‘/home/matt/R/x86_64-pc-linux-gnu-library/3.0/choroplethr’
Warning in install.packages :
  installation of package ‘choroplethr’ had non-zero exit status  

所以,我所看到的是各种各样的错误,第一个错误是:

rm: cannot remove 'a.out.dSYM': Is a directory

为了进一步增加难度,acsXML包也无法安装。

过去有没有人遇到过这个问题,如果有的话,是否有人找到了解决方案?如何修复目录中的错误?

PS:我试图通过安装来解决其中一些问题:

sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libxml2-dev

我的问题没有变化。
感谢。

0 个答案:

没有答案