编译安装mysql5.7.9 一直报错

回复 收藏
make后总是报错,改了很多次了,结果都是这样。

[ 52%] Building CXX object sql/CMakeFiles/sql.dir/item_geofunc.cc.o
In file included from /usr/local/src/mysql-5.7.9/include/boost_1_59_0/boost/geometry/index/rtree.hpp:76,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/closest_feature/range_to_range.hpp:22,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/distance/range_to_geometry_rtree.hpp:25,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/distance/multipoint_to_geometry.hpp:26,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/distance/implementation.hpp:25,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/comparable_distance/implementation.hpp:22,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/comparable_distance.hpp:23,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp:23,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp:30,
                 from /usr/local/src/boost_1_59_0/boost/geometry/algorithms/buffer.hpp:36,
                 from /usr/local/src/boost_1_59_0/boost/geometry/geometry.hpp:55,
                 from /usr/local/src/mysql-5.7.9/sql/item_geofunc_internal.h:44,
                 from /usr/local/src/mysql-5.7.9/sql/item_geofunc.cc:30:
/usr/local/src/boost_1_59_0/boost/geometry/index/detail/rtree/pack_create.hpp: In static member function ‘static typename boost::geometry::index::detail::rtree::elements_type::type>::type::value_type boost::geometry::index::detail::rtree::pack::per_level(EIt, EIt, const Box&, size_t, const boost::geometry::index::detail::rtree::pack::subtree_elements_counts&, const typename Options::parameters_type&, const Translator&, Allocators&) [with EIt = __gnu_cxx::__normal_iterator, Gis_wkb_vector_const_iterator >*, std::vector, Gis_wkb_vector_const_iterator >, std::allocator, Gis_wkb_vector_const_iterator > > > >, Value = Gis_point, Options = boost::geometry::index::detail::rtree::options, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::linear_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, Translator = boost::geometry::index::detail::translator, boost::geometry::index::equal_to >, Box = boost::geometry::model::box >, Allocators = boost::geometry::index::detail::rtree::allocators, Gis_point, boost::geometry::index::linear<8ul, 2ul>, boost::geometry::model::box >, boost::geometry::index::detail::rtree::node_variant_static_tag>]’:
/usr/local/src/boost_1_59_0/boost/geometry/index/detail/rtree/pack_create.hpp:257: 警告:此函数中的‘elements_box.boost::geometry::index::detail::rtree::pack, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::linear_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator, boost::geometry::index::equal_to >, boost::geometry::model::box >, boost::geometry::index::detail::rtree::allocators, Gis_point, boost::geometry::index::linear<8ul, 2ul>, boost::geometry::model::box >, boost::geometry::index::detail::rtree::node_variant_static_tag> >::expandable_box > >::m_box.boost::geometry::model::box >::m_max_corner.boost::geometry::model::point::m_values[1ul]’在使用前可能未初始化
/usr/local/src/boost_1_59_0/boost/geometry/index/detail/rtree/pack_create.hpp:257: 警告:此函数中的‘elements_box.boost::geometry::index::detail::rtree::pack, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::linear_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator, boost::geometry::index::equal_to >, boost::geometry::model::box >, boost::geometry::index::detail::rtree::allocators, Gis_point, boost::geometry::index::linear<8ul, 2ul>, boost::geometry::model::box >, boost::geometry::index::detail::rtree::node_variant_static_tag> >::expandable_box > >::m_box.boost::geometry::model::box >::m_max_corner.boost::geometry::model::point::m_values[0ul]’在使用前可能未初始化
/usr/local/src/boost_1_59_0/boost/geometry/index/detail/rtree/pack_create.hpp:257: 警告:此函数中的‘elements_box.boost::geometry::index::detail::rtree::pack, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::linear_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator, boost::geometry::index::equal_to >, boost::geometry::model::box >, boost::geometry::index::detail::rtree::allocators, Gis_point, boost::geometry::index::linear<8ul, 2ul>, boost::geometry::model::box >, boost::geometry::index::detail::rtree::node_variant_static_tag> >::expandable_box > >::m_box.boost::geometry::model::box >::m_min_corner.boost::geometry::model::point::m_values[1ul]’在使用前可能未初始化
/usr/local/src/boost_1_59_0/boost/geometry/index/detail/rtree/pack_create.hpp:257: 警告:此函数中的‘elements_box.boost::geometry::index::detail::rtree::pack, boost::geometry::index::detail::rtree::insert_default_tag, boost::geometry::index::detail::rtree::choose_by_content_diff_tag, boost::geometry::index::detail::rtree::split_default_tag, boost::geometry::index::detail::rtree::linear_tag, boost::geometry::index::detail::rtree::node_variant_static_tag>, boost::geometry::index::detail::translator, boost::geometry::index::equal_to >, boost::geometry::model::box >, boost::geometry::index::detail::rtree::allocators, Gis_point, boost::geometry::index::linear<8ul, 2ul>, boost::geometry::model::box >, boost::geometry::index::detail::rtree::node_variant_static_tag> >::expandable_box > >::m_box.boost::geometry::model::box >::m_min_corner.boost::geometry::model::point::m_values[0ul]’在使用前可能未初始化


一下午加一个晚上,都是这个错误,心都碎了一地,求大神解答。{:4_102:}
2016-02-11 22:39 举报
已邀请:
0

阿铭 管理员

赞同来自:

这个问题我搜了一下,貌似是一个bug。 建议你换个其他的版本试试看。

回复帖子,请先登录注册

退出全屏模式 全屏模式 回复
评分
可选评分理由: