[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] boostrap error - borked cmConfigure.h [v2.8.12.1]
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2014-01-10 23:26:14
Message-ID: CAExHGmS1HkTTzprqsZ6H+8mw9F6pVB5=815GXuqvjje7sMaHCA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

On Fri, Jan 10, 2014 at 9:42 PM, Szil=E1rd P=E1ll <pszilard@kth.se> wrote:

> Indeed, I did (accidentally) download the .zip package. I was rather
> annoyed that the bootstrap script did not have executable permission
> set, but it did not ring a bell... Thanks guys!
>
> Just for curiosity:
> - what *nix tool does not support CR+LF?
>

As your error shows they got transported literally from an end of line into
a c++ header. Which part in the build process would need to be fixed I
don't know, I'd start searching where the cmake-2.8 value is supposed to
come from and who generates the numbers.


> - the cross-platform codes I work on use LF newlines but build without
> problem on Windows (msvc, intel, gcc). Why does CMake need two
> separate packages with different newlines?


The problem is not so much the compilers (though there could be older
versions which choke on just lf), but some editors still require crlf for
line breaks (try opening a unix-file with Windows' notepad).

Andreas

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan \
10, 2014 at 9:42 PM, Szilárd Páll <span dir="ltr">&lt;<a \
href="mailto:pszilard@kth.se" target="_blank">pszilard@kth.se</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">Indeed, I did (accidentally) download the .zip package. \
I was rather<br> annoyed that the bootstrap script did not have executable \
permission<br> set, but it did not ring a bell... Thanks guys!<br>
<br>
Just for curiosity:<br>
- what *nix tool does not support CR+LF?<br></blockquote><div><br></div><div>As your \
error shows they got transported literally from an end of line into a c++ header. \
Which part in the build process would need to be fixed I don&#39;t know, I&#39;d \
start searching where the cmake-2.8 value is supposed to come from and who generates \
the numbers.</div> <div> </div><blockquote class="gmail_quote" style="margin:0 0 0 \
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
- the cross-platform codes I work on use LF newlines but build without<br>
problem on Windows (msvc, intel, gcc). Why does CMake need two<br>
separate packages with different newlines?</blockquote><div><br></div><div>The \
problem is not so much the compilers (though there could be older versions which \
choke on just lf), but some editors still require crlf for line breaks (try opening a \
unix-file with Windows&#39; notepad).</div> \
<div><br></div><div>Andreas</div></div></div></div>



--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic