On 06/07/2016 10:58 AM, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote:
> I tried out the 3.6.0-rc1 and my problem building CMake still exists.
Thanks for testing it.
> (cd /tmp/cmake-build && \
> ../cmake-3.6.0-rc1/bootstrap && \
> make -j 10 && \
> ./bin/cmake -DCMAKE_BUILD_TYPE:STRING=Release
> -DCMAKE_USE_OPENSSL:BOOL=ON -DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl . && \
> make -j${NPROC} && \
> make install)
That script causes CMake to be configured with itself the second time
instead of the bootstrap script. You should be able to pass the config
options directly to bootstrap:
../cmake-3.6.0-rc1/bootstrap --parallel=${NPROC} -- \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DCMAKE_USE_OPENSSL:BOOL=ON \
-DOPENSSL_ROOT_DIR:PATH=/usr/local/ssl &&
make -j ${NPROC} &&
make install
> In file included from
> /tmp/cmake-3.6.0-rc1/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:58:0:
> /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
This should fix it:
libarchive: Restore OpenSSL include directory from upstream
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dbc9f73d
I've queued this for merge to 'release' for 3.6.0-rc2.
-Brad K
--
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://public.kitware.com/mailman/listinfo/cmake