[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<:_rb_tree_node> >::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