[root@test25 cmake-3.1.0-rc2]# ./configure 

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

, Copyright 2000-2014 Kitware, Inc.

Found GNU toolchain

C compiler on this system is: gcc 

C++ compiler on this system is: g++ 

Makefile processor on this system is: gmake

g++ is GNU compiler

g++ has setenv

g++ has unsetenv

g++ does not have environ in stdlib.h

g++ has STL in std:: namespace

g++ has ANSI streams

g++ has streams in std:: namespace

g++ has sstream

g++ has operator!=(string, char*)

g++ has stl iterator_traits

g++ has standard template allocator

g++ has allocator<>::rebind<>

g++ does not have non-standard allocator<>::max_size argument

g++ has stl containers supporting allocator objects

g++ has stl wstring

g++ has header cstddef

g++ requires template friends to use <>

g++ supports member templates

g++ has standard template specialization syntax

g++ has argument dependent lookup

g++ has struct stat with st_mtim member

g++ has ios::binary openmode

g++ has ANSI for scoping

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

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmStandardIncludes.cxx -o cmStandardIncludes.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmake.cxx -o cmake.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmakemain.cxx -o cmakemain.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmcmd.cxx -o cmcmd.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmCommandArgumentLexer.cxx -o cmCommandArgumentLexer.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmCommandArgumentParser.cxx -o cmCommandArgumentParser.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmCommandArgumentParserHelper.cxx -o cmCommandArgumentParserHelper.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmCPackPropertiesGenerator.cxx -o cmCPackPropertiesGenerator.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmDefinitions.cxx -o cmDefinitions.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmDepends.cxx -o cmDepends.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmDependsC.cxx -o cmDependsC.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmDocumentationFormatter.cxx -o cmDocumentationFormatter.o

g++  -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -I/software/cmake-3.1.0-rc2/Source   -I/software/cmake-3.1.0-rc2/Bootstrap.cmk -c /software/cmake-3.1.0-rc2/Source/cmPolicies.cxx -o cmPolicies.o

In file included from /software/cmake-3.1.0-rc2/Source/cmVersionMacros.h:15,

                 from /software/cmake-3.1.0-rc2/Source/cmPolicies.cxx:6:

/software/cmake-3.1.0-rc2/Bootstrap.cmk/cmVersionConfig.h:4:23: warning: missing terminating " character

/software/cmake-3.1.0-rc2/Bootstrap.cmk/cmVersionConfig.h:8:1: warning: missing terminating " character

In file included from /software/cmake-3.1.0-rc2/Source/cmVersionMacros.h:15,

                 from /software/cmake-3.1.0-rc2/Source/cmPolicies.cxx:6:

/software/cmake-3.1.0-rc2/Bootstrap.cmk/cmVersionConfig.h:8: error: missing terminating " character

/software/cmake-3.1.0-rc2/Bootstrap.cmk/cmVersionConfig.h:5: error: expected unqualified-id before numeric constant

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

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

Error when bootstrapping CMake:

Problem while running gmake

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

Log of errors: /software/cmake-3.1.0-rc2/Bootstrap.cmk/cmake_bootstrap.log

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

[root@test25 cmake-3.1.0-rc2]#