[CMake] How to build cmake to have http support?

Nicholas Braden nicholas11braden at gmail.com
Sun Nov 15 15:21:35 EST 2015


Have you tried installing the required parts locally (e.g. in your
home directory) and just telling CMake to look there instead of the
default system locations?

On Sun, Nov 15, 2015 at 9:52 AM, Cedric Doucet <cedric.doucet at inria.fr> wrote:
>
> Thank you Gregor!
>
> As I feared, this solution does not work in my particular case.
> This is because something is missing in the system and I can't installed it since I'm not an administrator of the cluster:
>
> -- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
> CMake Error at CMakeLists.txt:279 (message):
>   CMAKE_USE_SYSTEM_ZLIB is ON but a zlib is not found!
> Call Stack (most recent call first):
>   CMakeLists.txt:546 (CMAKE_BUILD_UTILITIES)
>
>
> -- Configuring incomplete, errors occurred!
> See also "/home/doucetc/logiciels/cmake-3.4.0/CMakeFiles/CMakeOutput.log".
> See also "/home/doucetc/logiciels/cmake-3.4.0/CMakeFiles/CMakeError.log".
> ---------------------------------------------
> Error when bootstrapping CMake:
> Problem while running initial CMake
> ---------------------------------------------
>
> I know it's possible to overcome this problem by installing openssl and telling cmake to use it, because it worked for me before.
> I will try again to find how I did that.
>
> Best,
>
> Cédric
>
>
>
> ----- Mail original -----
>> De: "Gregor Jasny" <gjasny at gmail.com>
>> À: cmake at cmake.org, "cedric doucet" <cedric.doucet at inria.fr>
>> Envoyé: Dimanche 15 Novembre 2015 15:25:37
>> Objet: Re: [CMake] How to build cmake to have http support?
>>
>> Hello,
>>
>> On 14/11/15 20:23, Cedric Doucet wrote:
>> > I managed to compile cmake such that it support https by the past, but I
>> > can't remember how I did it.
>> > I remember I installed openssl and pass some flags to cmake.
>> >
>> > Could anyone remember me how to do it?
>>
>> HTTPS support worked for me after passing --system-curl to configure.
>>
>> Thanks,
>> Gregor
>>
> --
>
> 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


More information about the CMake mailing list