[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
转载于:https://blog.51cto.com/2904295/1065944