Advertisement
Guest User

Untitled

a guest
Jun 30th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. g++ -Wall -o hclient main.cpp gen-cpp/Hbase_types.cpp gen-cpp/Hbase_constants.cpp
  2. gen-cpp/Hbase.cpp -lthrift
  3.  
  4. cthbase.cpp:14:38: error: thrift/transport/TSocket.h: No such file or directory
  5. cthbase.cpp:15:48: error: thrift/transport/TBufferTransports.h: No such file or directory
  6. cthbase.cpp:16:45: error: thrift/protocol/TBinaryProtocol.h: No such file or directory
  7. In file included from cthbase.cpp:18:
  8. ....
  9.  
  10. sudo make uninstall
  11.  
  12. git clone <repo>
  13. git checkout <revision you installed>
  14. ./configure # if you supplied some additional options to configure while building thrift, add them here too.
  15. sudo make uninstall
  16.  
  17. 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
  18.  
  19. wget http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.tar.gz
  20. tar xzvf thrift-0.9.2.tar.gz
  21. $ cd thrift-0.9.2/
  22. ./configure
  23. make
  24. sudo make install
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement