RevolutionAnalytics / RHadoop

RHadoop

Home Page:https://github.com/RevolutionAnalytics/RHadoop/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem installing rhbase on R

MrRobot2211 opened this issue · comments

Hello I was able to install all other Rhadoop packages correctly, I am missing rhbase. After installing thrift and following the guidelines in the web i get when trying to install to R

  • installing source package ‘rhbase’ ...
    ** libs
    /home/felipe/anaconda3/bin/x86_64-conda_cos6-linux-gnu-c++ -I/home/felipe/anaconda3/lib/R/include -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -I/home/felipe/anaconda3/include -I. -g -DHAVE_UINTPTR_T -DHAVE_NETDB_H=1 -fpermissive -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -I./gen_cpp pkg-config --cflags thrift -Wall -fpic -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -pipe -I/home/felipe/anaconda3/include -c Hbase.cpp -o Hbase.o
    In file included from /usr/local/include/thrift/transport/TTransport.h:23:0,
    from /usr/local/include/thrift/protocol/TProtocol.h:23,
    from /usr/local/include/thrift/TProcessor.h:24,
    from Hbase.h:10,
    from Hbase.cpp:7:
    /usr/local/include/thrift/Thrift.h:48:10: fatal error: boost/utility/enable_if.hpp: No such file or directory
    #include <boost/utility/enable_if.hpp>
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    compilation terminated.
    /home/felipe/anaconda3/lib/R/etc/Makeconf:167: recipe for target 'Hbase.o' failed
    make: *** [Hbase.o] Error 1
    ERROR: compilation failed for package ‘rhbase’
  • removing ‘/home/felipe/anaconda3/lib/R/library/rhbase’
    Warning message:
    In install.packages("/home/felipe/rhbase_1.2.1.tar.gz", repos = NULL, :
    installation of package ‘/home/felipe/rhbase_1.2.1.tar.gz’ had non-zero exit status

Thank you any help will be appreciated.

you want to see tutorial https://github.com/nexr/RHive
good luck!