ubuntu - "fatal error: TProcessor.h: No such file or directory" when trying to install Rhbase package -
everyone, i'm trying install rhbase package, first missing thrift package, solved, shows me error. added tprocessor.h ../lib/cpp/src/thrift/processor/ didn't , shows me same error:
in file included hbase.cpp:7:0: hbase.h:10:24: fatal error: tprocessor.h: no such file or directory #include <tprocessor.h> ^ compilation terminated. make: *** [hbase.o] error 1 error: compilation failed package ‘rhbase’
i using rstudio lot
you should edit thrift.pc
.
i used locate thrift.pc
, found in /usr/local/lib/pkgconfig/
. edited includedir
variable looked like
includedir=${prefix}/include/thrift
it worked me.
Comments
Post a Comment