2016-08-16 51 views
1

在Bluemix中,我有一个5节点的BigInsights hadoop群集。当我尝试在BigInsights群集中安装H2O ai R时,出现错误。在Bluemix的BigInsights群集中安装H2O ai R程序包时出错

install.packages( “H 2 O”,类型= “源极”,回购=(C( “http://h2o-release.s3.amazonaws.com/h2o/rel-turing/3/R”)))

ERROR: dependencies ‘statmod’, ‘RCurl’, ‘jsonlite’ are not available for package ‘h2o’ 
* removing ‘/home/opus/R/x86_64-redhat-linux-gnu-library/3.3/h2o’ 

The downloaded source packages are in 
     ‘/tmp/RtmpJmcuyB/downloaded_packages’ 
Warning message: 
In install.packages("h2o", type = "source", repos = (c("http://h2o-release.s3.amazonaws.com/h2o/rel-turing/3/R"))) : 
    installation of package ‘h2o’ had non-zero exit status 

当尝试在BigInsights簇安装 'RCurl' R的包,收到错误消息:

trying URL 'https://cran.fhcrc.org/src/contrib/RCurl_1.95-4.8.tar.gz' 
Content type 'application/x-gzip' length 916934 bytes (895 KB) 
================================================== 
downloaded 895 KB 

* installing *source* package ‘bitops’ ... 
** package ‘bitops’ successfully unpacked and MD5 sums checked 
** libs 
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpic -fPIC -c bit-ops.c -o bit-ops.o 
gcc -m64 -std=gnu99 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fpic -fPIC -c cksum.c -o cksum.o 
gcc -m64 -std=gnu99 -shared -L/usr/lib64/R/lib -o bitops.so bit-ops.o cksum.o -L/usr/lib64/R/lib -lR 
installing to /home/opus/R/x86_64-redhat-linux-gnu-library/3.3/bitops/libs 
** R 
** preparing package for lazy loading 
** help 
*** installing help indices 
    converting help for package ‘bitops’ 
    finding HTML links ... done 
    bitAnd         html 
    bitFlip         html 
    bitShiftL        html 
    cksum         html 
** building package indices 
** testing if installed package can be loaded 
* DONE (bitops) 
* installing *source* package ‘RCurl’ ... 
** package ‘RCurl’ successfully unpacked and MD5 sums checked 
checking for curl-config... no 
Cannot find curl-config 
ERROR: configuration failed for package ‘RCurl’ 
* removing ‘/home/opus/R/x86_64-redhat-linux-gnu-library/3.3/RCurl’ 

The downloaded source packages are in 
     ‘/tmp/RtmpJmcuyB/downloaded_packages’ 
Warning message: 
In install.packages("RCurl") : 
    installation of package ‘RCurl’ had non-zero exit status 

请帮我解决这个问题,并帮助将非常感激。

+0

如果下面的答案是正确的,请接受它。谢谢! – TomKraljevic

回答

4

看起来你正试图在Linux上安装。 您需要先安装libcurl的开发文件。

的apt-get安装libcurl4-的OpenSSL开发

百胜安装的libcurl-devel的