Skip to content

Problem installing rhbase on R #244

@MrRobot2211

Description

@MrRobot2211

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions