您的位置:首页 > 其它

cmake编译安装错误-求助

2012-11-21 14:11 609 查看
[root@longjiang-32 ~]# cd cmake-2.8.7

[root@longjiang-32 cmake-2.8.7]# ./configure

---------------------------------------------

g++ -I/root/cmake-2.8.7/Bootstrap.cmk -I/root/cmake-2.8.7/Source -I/root/cmake-2.8.7/Bootstrap.cmk -c /root/cmake-2.8.7/Source/cmStandardIncludes.cxx -o cmStandardIncludes.o

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h: In constructor ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_impl<_Key_compare, _Is_pod_comparator>::_Rb_tree_impl(const typename _Alloc::rebind<std::_Rb_tree_node<_Val> >::other&, const _Key_compare&)’:

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_tree.h:412: error: expected `;'

gmake: *** [cmStandardIncludes.o] Error 1

---------------------------------------------

Error when bootstrapping CMake:

Problem while running gmake

---------------------------------------------

Log of errors: /root/cmake-2.8.7/Bootstrap.cmk/cmake_bootstrap.log
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息