Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -Wall -o hclient main.cpp gen-cpp/Hbase_types.cpp gen-cpp/Hbase_constants.cpp
- gen-cpp/Hbase.cpp -lthrift
- cthbase.cpp:14:38: error: thrift/transport/TSocket.h: No such file or directory
- cthbase.cpp:15:48: error: thrift/transport/TBufferTransports.h: No such file or directory
- cthbase.cpp:16:45: error: thrift/protocol/TBinaryProtocol.h: No such file or directory
- In file included from cthbase.cpp:18:
- ....
- sudo make uninstall
- git clone <repo>
- git checkout <revision you installed>
- ./configure # if you supplied some additional options to configure while building thrift, add them here too.
- sudo make uninstall
- sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
- wget http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.tar.gz
- tar xzvf thrift-0.9.2.tar.gz
- $ cd thrift-0.9.2/
- ./configure
- make
- sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement