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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -