|
Note that it fails in a different way on older Ubuntu versions. On 9.04, I got this error:
/home/psergey/dev2/5.5-cassandra-r02/storage/cassandra/ha_cassandra.cc: In member function ‘bool ha_cassandra::mrr_start_read()’:
/home/psergey/dev2/5.5-cassandra-r02/storage/cassandra/ha_cassandra.cc:1135: warning: comparison between signed and unsigned integer expressions
[100%] Building CXX object storage/cassandra/CMakeFiles/cassandra.dir/cassandra_se.cc.o
In file included from /usr/include/boost/detail/shared_count.hpp:31,
from /usr/include/boost/shared_ptr.hpp:29,
from /home/psergey/cassandra/thrift/include/thrift/transport/TTransport.h:25,
from /home/psergey/cassandra/thrift/include/thrift/transport/TSocket.h:33,
from /home/psergey/dev2/5.5-cassandra-r02/storage/cassandra/cassandra_se.cc:11:
/usr/include/boost/detail/sp_counted_impl.hpp: In member function ‘virtual void* boost::detail::sp_counted_impl_pd<P, D>::get_deleter(const boost::detail::sp_typeinfo&)’:
/usr/include/boost/detail/sp_counted_impl.hpp:149: error: cannot use typeid with -fno-rtti
/usr/include/boost/detail/sp_counted_impl.hpp: In member function ‘virtual void* boost::detail::sp_counted_impl_pda<P, D, A>::get_deleter(const boost::detail::sp_typeinfo&)’:
/usr/include/boost/detail/sp_counted_impl.hpp:219: error: cannot use typeid with -fno-rtti
In file included from /home/psergey/cassandra/thrift/include/thrift/transport/TTransport.h:25,
from /home/psergey/cassandra/thrift/include/thrift/transport/TSocket.h:33,
from /home/psergey/dev2/5.5-cassandra-r02/storage/cassandra/cassandra_se.cc:11:
/usr/include/boost/shared_ptr.hpp: In function ‘D* boost::get_deleter(const boost::shared_ptr<U>&)’:
/usr/include/boost/shared_ptr.hpp:606: error: cannot use typeid with -fno-rtti
make[2]: *** [storage/cassandra/CMakeFiles/cassandra.dir/cassandra_se.cc.o] Error 1
make[1]: *** [storage/cassandra/CMakeFiles/cassandra.dir/all] Error 2
make: *** [all] Error 2
Judging from the comments in storage/oqgraph/CMakeLists.txt, this is due to old gcc being used.
|