[CMake] boostrap error - borked cmConfigure.h [v2.8.12.1]

Szilárd Páll pszilard at kth.se
Fri Jan 10 07:21:50 EST 2014


Hi,

I'm trying to compile 2.8.12.1, but I keep bumping into an error:
[...]
/tmp/cmake-2.8.12.1/Bootstrap.cmk/cmConfigure.h:27:24: warning:
missing terminating " character [enabled by default]
"8define CMAKE_DATA_DIR "/share/cmake-2
[...]

This seems to be caused by a rather messed up-looking cmConfigure.h:
[...]
/* #undef CMAKE_NO_ANSI_STRING_STREAM */
/* #undef CMAKE_NO_ANSI_FOR_SCOPE */
#define CMAKE_ROOT_DIR "/home/pszilard/tmp/cmake-2.8.12.1"
#define CMAKE_DATA_DIR "/share/cmake-2^M.8^M"
#define CMAKE_BOOTSTRAP

Note that I've manually added the "^M" control characters which would
show up as newlines when pasted into the mail client.

I've tried running on both an Ubuntu 10.04 and 12.04 machine with
different compiler versions, but of course, no compiler swallowed this
broken include file.

Any ideas what's going on?

Cheers,
--
Szilárd


More information about the CMake mailing list