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

Szilárd Páll pszilard at kth.se
Fri Jan 10 08:16:24 EST 2014


Found a workaround:
$ find /tmp/cmake-2.8.12.1 -type f | xargs dos2unix

This must be a bug, should I file a report?
--
Szilárd


On Fri, Jan 10, 2014 at 1:21 PM, Szilárd Páll <pszilard at kth.se> wrote:
> 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