Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing rhbase on R #244

Open
MrRobot2211 opened this issue Feb 6, 2018 · 1 comment
Open

Problem installing rhbase on R #244

MrRobot2211 opened this issue Feb 6, 2018 · 1 comment

Comments

@MrRobot2211
Copy link

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.

@meteorwen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants