软件包“〜/ cghseg_0.0.1.tar.gz”的安装退出状态为非零

时间:2019-08-10 20:06:37

标签: compiler-errors package install rstudio centos7

我正在使用Rstudio版本:

platform       x86_64-redhat-linux-gnu          
version.string R version 3.6.0 (2019-04-26)

“ CGHSEG”是一个旧软件包,但必须与HOMER.R功能一起使用才能进行研究,但是当我尝试使用 install.packages(“〜/ cghseg.tar.gz”手动安装时, repos = NULL,请键入=“ source”),但出现消息错误。

make: *** [helperfuncs.o] Error 1
**`ERROR: compilation failed for package ‘cghseg`’**
* removing ‘/usr/lib64/R/library/cghseg’

Warning message:

In install.packages("~/guisseppe/cghseg_0.0.1.tar.gz",  :
installation of package ‘~/guisseppe/Downloads/cghseg_0.0.1.tar.gz’ 
had non-zero exit status**

我尝试使用devtools :: install_local进行安装,也尝试通过直接URL(https://cran.r-project.org/src/contrib/Archive/cghseg/)进行安装,但是我也收到了此消息。

make: *** [helperfuncs.o] Error 1
ERROR: compilation failed for package ‘cghseg’
* removing ‘/home/guisseppe/R/x86_64-redhat-linux-gnu-library
/3.6/cghseg’
Error: Failed to install 'unknown package' from URL:
(converted from warning) installation of package
‘/tmp/Rtmpfy6ldRfile120c16998f92/cghseg_0.0.1.tar.gz’ had non-zero exit
 status

我也尝试在centos 7上安装一些库,例如“ libcurl4-openssl-dev libxml2-dev”,但什么也没有

不太确定如何从这里开始。

0 个答案:

没有答案