<div dir="ltr">What's the meaning of the bootstrap executable? I thought, when compiling CMake, it is sufficient to call ./configure and then make...<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-07 15:13 GMT-04:00 Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/07/2016 10:58 AM, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote:<br>
> I tried out the 3.6.0-rc1 and my problem building CMake still exists.<br>
<br>
Thanks for testing it.<br>
<br>
>     (cd /tmp/cmake-build && \<br>
>         ../cmake-3.6.0-rc1/bootstrap && \<br>
>         make -j 10 && \<br>
>         ./bin/cmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_USE_OPENSSL:BOOL=ON -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl  . && \<br>
>         make -j${NPROC} && \<br>
>         make install)<br>
<br>
That script causes CMake to be configured with itself the second time<br>
instead of the bootstrap script.  You should be able to pass the config<br>
options directly to bootstrap:<br>
<br>
  ../cmake-3.6.0-rc1/bootstrap --parallel=${NPROC} -- \<br>
    -DCMAKE_BUILD_TYPE:STRING=Release \<br>
    -DCMAKE_USE_OPENSSL:BOOL=ON \<br>
    -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl &&<br>
  make -j ${NPROC} &&<br>
  make install<br>
<br>
> In file included from /tmp/cmake-3.6.0-rc1/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:58:0:<br>
> /tmp/cmake-3.6.0-rc1/Utilities/cmlibarchive/libarchive/archive_cryptor_private.h:102:25: fatal error: openssl/evp.h: No such file or directory<br>
<br>
This should fix it:<br>
<br>
 libarchive: Restore OpenSSL include directory from upstream<br>
 <a href="https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbc9f73d" rel="noreferrer" target="_blank">https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbc9f73d</a><br>
<br>
I've queued this for merge to 'release' for 3.6.0-rc2.<br>
<br>
-Brad K<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>