[CMake] Debugging the ExternalProject_Add download step

David Cole david.cole at kitware.com
Fri Dec 2 17:11:55 EST 2011


Yes, there's a problem with https. By default, ctest does not link to
a curl that has openssl enabled.

If you need to download from an https-only site, you'll need to build
your own ctest that does have openssl enabled.

Alternatively, find a place (or make your own) to get the download
from that is not behind https.


HTH,
David


On Fri, Dec 2, 2011 at 4:29 PM, Lori Pritchett-Sheats <lpritch at lanl.gov> wrote:
> I'm using the ExternalProject_Add function and I've run into a problem
> downloading a tar file. It creates a zero length file and fails when the MD5
> check fails. I have logging active, but I'm not seeing anything useful. I
> have other tar files from external sites that are downloaded successfully,
> so I don't know why this particular site is failing. The one difference is
> this site is a 'https://....' and the others are 'http://...'.
>
> How can I debug this problem? Is there an issue with the downloads and
> https?
>
> Thanks.
>
> --
> Lori A. Pritchett-Sheats, PhD.
> CCS-2, Computational Physics and Methods
> Office: 505-665-6675
> Fax: 505-665-4972
>
> Los Alamos National Laboratory
> P.O. Box 1663
> MS D413
> Los Alamos, NM 87544
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list