Hi Milko, Yes, there are some problems with Thrift 0.8.0 that we had to patch up. You can find a patched version of Thrift 0.8.0 here:
http://www.hypertable.org/pub/thrift-0.8.0.tar.gz Also, to build Hypertable, you'll have to add the following line to src/cc/ThriftBroker/CMakeLists.txt: SET(CMAKE_CXX_FLAGS -DHAVE_NETINET_IN_H) Try that and see if it works for you. If not, post the errors and we can further diagnose. - Doug On Tue, Jan 31, 2012 at 9:18 AM, Milko Marinov <[email protected]>wrote: > Hi Doug, > > I'm trying to install the new HT release from source. > > I've installed Thrift 0.8.0. > > During the HT make he following problem appears: > > =================================== > [ 93%] Building CXX object > src/cc/ThriftBroker/CMakeFiles/HyperThrift.dir/SerializedCellsReader.cc.o > [ 93%] Building CXX object > src/cc/ThriftBroker/CMakeFiles/HyperThrift.dir/SerializedCellsWriter.cc.o > [ 93%] Building CXX object > src/cc/ThriftBroker/CMakeFiles/HyperThrift.dir/gen- > cpp/Client_constants.cpp.o > > In file included from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_types.h:11, > from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_constants.h:10, > from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_constants.cpp:7: > /usr/local/include/thrift/TApplicationException.h:94: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/TApplicationException.h:95: error: > \u2018uint32_t\u2019 does not > name a type > In file included from /usr/local/include/thrift/protocol/TProtocol.h:23, > from > /home/milko/src/hypertable/src/cc/ThriftBroker/gen-cpp/Client_types.h:12, > from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_constants.h:10, > from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_constants.cpp:7: > /usr/local/include/thrift/transport/TTransport.h:34: error: expected > constructor, destructor, or > type conversion before \u2018readAll\u2019 > /usr/local/include/thrift/transport/TTransport.h:107: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/transport/TTransport.h:111: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/transport/TTransport.h:124: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/transport/TTransport.h:128: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/transport/TTransport.h:139: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/transport/TTransport.h:156: error: ISO C++ > forbids declaration of > \u2018uint8_t\u2019 with no type > /usr/local/include/thrift/transport/TTransport.h:156: error: expected > \u2018,\u2019 or > \u2018...\u2019 before \u2018*\u2019 token > /usr/local/include/thrift/transport/TTransport.h:160: error: ISO C++ > forbids declaration of > \u2018uint8_t\u2019 with no type > /usr/local/include/thrift/transport/TTransport.h:160: error: expected > \u2018,\u2019 or > \u2018...\u2019 before \u2018*\u2019 token > /usr/local/include/thrift/transport/TTransport.h:172: error: > \u2018uint32_t\u2019 does not > name a type > /usr/local/include/thrift/transport/TTransport.h:214: error: ISO C++ > forbids declaration of > \u2018uint8_t\u2019 with no type > /usr/local/include/thrift/transport/TTransport.h:214: error: expected > \u2018;\u2019 before > \u2018*\u2019 token > /usr/local/include/thrift/transport/TTransport.h:218: error: expected > \u2018;\u2019 before > \u2018virtual\u2019 > /usr/local/include/thrift/transport/TTransport.h:218: error: ISO C++ > forbids declaration of > \u2018uint8_t\u2019 with no type > /usr/local/include/thrift/transport/TTransport.h:218: error: > \u2018uint8_t\u2019 declared as a > \u2018virtual\u2019 field > /usr/local/include/thrift/transport/TTransport.h:218: error: expected > \u2018;\u2019 before > \u2018*\u2019 token > /usr/local/include/thrift/transport/TTransport.h:231: error: expected > \u2018;\u2019 before > \u2018void\u2019 > /usr/local/include/thrift/transport/TTransport.h:231: error: > \u2018uint32_t\u2019 has not been > declared > /usr/local/include/thrift/transport/TTransport.h:235: error: > \u2018uint32_t\u2019 has not been > declared > /usr/local/include/thrift/transport/TTransport.h: In member function > \u2018void > apache::thrift::transport::TTransport::write(int)\u2019: > /usr/local/include/thrift/transport/TTransport.h:158: error: > \u2018buf\u2019 was not declared > in this scope > /usr/local/include/thrift/transport/TTransport.h:158: error: > \u2018len\u2019 was not declared > in this scope > In file included from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_types.h:12, > from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_constants.h:10, > from /home/milko/src/hypertable/src/cc/ThriftBroker/gen- > cpp/Client_constants.cpp:7: > /usr/local/include/thrift/protocol/TProtocol.h: At global scope: > > ======================================== > > > Could you help me? > > Regards, > > Milko > > > On 30 Jan 2012 at 14:54, Doug Judd wrote: > > > > > Hypertable0.9.5.4patchreleaseis nowavailable for download > > athttp://www.hypertable.com/download/. > > > > NOTE: you may have to hit refresh in your browser to get the correct > > download > > > > Version MailScanner has detected a possible fraud attempt from > > "0.9.5.5" claiming to be > > MailScanner warning: numerical links are often malicious: 0.9.5.5: > > (2012-01-30) > > > > Upgraded to Thrift 0.8.0 > > Issue #760: Changed LICENSE.txt and copyright header in sources to > > GPL v3 > > Added ability to disable block cache; Disabled it for now > > Fixed concurrency problems in TableMutator classes > > Fixed deadlocks in update path > > Fixed race condition leading to deadlock in TableMutator > > Fixed error propagation in scanner > > Only account for QueryCache fill in MemoryTracker > > Fixed BlockCache problem when not enough room to hold block > > Improved response time if TableScanner recovers from > > RANGESERVER_RANGE_NOT_FOUND error > > More updates to PerformanceTest > > Added missing member initialization to ScanSpec constructor > > Got rid of unused function > > Fixed qualifier regex logic > > Fixed mis-interpretation of CREATE_INTERMEDIATE in > > Client::create_namespace > > Fixed bug recently introduce in the update path > > issue 773: Removed deadlock in TableMutatorAsync > > Fixed bug recently introduced in PerformanceTest causing > > value-data file to be null > > Issue #766: cronolog is now packaged into /bin directory > > Issue #734: Removed dependency to librrd > > Added BlockCount field to METADATA table > > Improved integration tests; several tests are now running more > > reliable > > Added memory mapped CMF data file for Zipfian random number > > generator > > Issue #484: Added a regression test > > Issue #743: Added function error_get_text which returns a string > > describing an error number > > Issue #672, #758: Serverup tool now connects to local master > > instead of the one listed in > > hyperspace > > PerformanceTest improvements; Got random read tests working > > issue 745: fixed missing dependency problem on mac > > Added additional 3 second clock skew leeway in Master register > > server > > Made RangeServer::acknowledge_load request URGENT > > issue 754: Added support MAX_VERSIONS <n> (e.g. without '=') > > Modified Hypertable perftest to run over multiple interfaces > > Added missing Thrift Client interface libraries to installation > > Updated Thrift client_test examples to reflect recent API name > > changes > > Fixed thrift-reconnect-hyperspace test > > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Hypertable User" > > group. > > To post to this group, send email to > > [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/hypertable-user?hl=en. > > > ********************************************************** > Assoc. Prof. Milko Todorov Marinov, PhD > Department of Computer Systems & Technologies > University of Ruse > 8 Studentska Str, 7017 Ruse, BULGARIA > Tel. (+359 82) 888 356, Fax. (+359 82) 845 708 > Cell phone: (+359 88) 999 6793 > E-mail: [email protected] > *********************************************************** > > -- > You received this message because you are subscribed to the Google Groups > "Hypertable User" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/hypertable-user?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Hypertable Development" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hypertable-dev?hl=en.
