无法在centOS 7.0 64位上安装git2r或devtools R软件包

马尔辛·科辛斯基

R在centOS下安装软件包失败我正在尝试安装该devtools软件包,以便rstudio/DT使用该install_github功能安装该软件包,但是当我尝试安装该devtools软件包时,出现以下错误,提示git2r无法安装软件包。也许有人知道我应该怎么做才能成功执行安装?

我的代码和错误sessionInfo如下:

also installing the dependency ‘git2r’

próbowanie adresu URL 'http://r.meteo.uni.wroc.pl/src/contrib/git2r_0.10.1.tar.gz'
Content type 'application/x-gzip' length 1014817 bytes (991 Kb)
otwarty adres URL
==================================================
downloaded 991 Kb

próbowanie adresu URL 'http://r.meteo.uni.wroc.pl/src/contrib/devtools_1.8.0.tar.gz'
Content type 'application/x-gzip' length 141487 bytes (138 Kb)
otwarty adres URL
==================================================
downloaded 138 Kb

* installing *source* package ‘git2r’ ...
** pakiet ‘git2r’ został pomyślnie rozpakowany oraz sumy MD5 zostały sprawdzone
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for library containing inflate... -lz
checking for library containing SSL_library_init... no
configure: error: in `/tmp/Rtmpu69dSw/R.INSTALL78eb79d3960d/git2r':
configure: error: OpenSSL library required
See `config.log' for more details
ERROR: configuration failed for package ‘git2r’
* removing ‘/usr/lib64/R/library/git2r’
ERROR: dependency ‘git2r’ is not available for package ‘devtools’
* removing ‘/usr/lib64/R/library/devtools’

Pobrane pakiety źródłowe są w
    ‘/tmp/RtmpPa6Dam/downloaded_packages’
Aktualizowanie indeksu HTML pakietów w '.Library'
Making 'packages.html' ... wykonano
Komunikaty ostrzegawcze:
1: In install.packages("devtools") :
  instalacja pakietu ‘git2r’ miała niezerowy status wyjścia
2: In install.packages("devtools") :
  instalacja pakietu ‘devtools’ miała niezerowy status wyjścia
> install.packages("git2r")
Installing package into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
próbowanie adresu URL 'http://r.meteo.uni.wroc.pl/src/contrib/git2r_0.10.1.tar.gz'
Content type 'application/x-gzip' length 1014817 bytes (991 Kb)
otwarty adres URL
==================================================
downloaded 991 Kb

* installing *source* package ‘git2r’ ...
** pakiet ‘git2r’ został pomyślnie rozpakowany oraz sumy MD5 zostały sprawdzone
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 for library containing inflate... -lz
checking for library containing SSL_library_init... no
configure: error: in `/tmp/Rtmp7XPNF2/R.INSTALL7a40466f8127/git2r':
configure: error: OpenSSL library required
See `config.log' for more details
ERROR: configuration failed for package ‘git2r’
* removing ‘/usr/lib64/R/library/git2r’

Pobrane pakiety źródłowe są w
    ‘/tmp/RtmpPa6Dam/downloaded_packages’
Aktualizowanie indeksu HTML pakietów w '.Library'
Making 'packages.html' ... wykonano
Komunikat ostrzegawczy:
In install.packages("git2r") :
  instalacja pakietu ‘git2r’ miała niezerowy status wyjścia
> sessionInfo(
+ )
R version 3.1.2 (2014-10-31)
Platform: x86_64-redhat-linux-gnu (64-bit)

locale:
 [1] LC_CTYPE=pl_PL.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=pl_PL.UTF-8        LC_COLLATE=pl_PL.UTF-8    
 [5] LC_MONETARY=pl_PL.UTF-8    LC_MESSAGES=pl_PL.UTF-8   
 [7] LC_PAPER=pl_PL.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=pl_PL.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] tools_3.1.2
纳西姆德

我在红色帽子上有同样的问题。解决方法是(由于@Pascal)安装openssl-devel

yum install openssl-devel

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Linux Centos 7无法在R上安装png和EBImage软件包

来自分类Dev

无法在CentOS 7的R Studio中安装RPostgreSQL软件包

来自分类Dev

在CentOS 7上安装软件包

来自分类Dev

R无法在centos 6.5上安装软件包

来自分类Dev

无法在CentOS下从源代码安装R软件包

来自分类Dev

无法在CentOS的R中安装XML软件包

来自分类Dev

无法安装R软件包

来自分类Dev

无法在R中安装软件包

来自分类Dev

无法安装R的cachem软件包

来自分类Dev

无法安装R软件包

来自分类Dev

无法安装R的geojson软件包

来自分类Dev

某些R软件包无法安装

来自分类Dev

CentOS 7无法添加Gitlab软件包存储库并安装

来自分类Dev

安装vagrant时缺少centos 7的yum软件包

来自分类Dev

如何为CentOS 7安装PySide软件包

来自分类Dev

如何为CentOS 7安装最新的SaltStack软件包

来自分类Dev

CentOS 7上的KVM软件包,例如ProXmoX

来自分类Dev

无法在R中加载软件包

来自分类Dev

PyPi软件包vmprof无法在64位Windows 7计算机上安装

来自分类Dev

在centos 7 x64上的openproject软件包安装错误

来自分类Dev

无法在Linux Mint 17上安装R软件包

来自分类Dev

R软件包'Boom'无法在Ubuntu Linux上安装

来自分类Dev

R的闪亮(Rstudio)软件包-无法在Mavericks上安装

来自分类Dev

无法在R 3.3.0上安装nloptr软件包

来自分类Dev

无法在Heroku上安装R软件包

来自分类Dev

使用R CMD安装无法安装R软件包

来自分类Dev

如何在centos 7中删除软件包时如何删除所有已安装的从属软件包?

来自分类Dev

pkgdown R软件包的build_site函数导致从属软件包无法加载

来自分类Dev

无法在CentOS上安装PHP软件包