[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cmake error
From: |
Thiago Jung Bauermann |
Subject: |
Re: cmake error |
Date: |
Thu, 13 May 2021 15:09:58 -0300 |
Hello Roy,
Em quinta-feira, 13 de maio de 2021, às 14:17:21 -03, Roy Lemmon escreveu:
> Hi again,
>
> Just to not that the original CMakeList.txt file for fastjet uses
> ExternalProject_Add with the URL command. Perhaps no-one has used cmake
> in Guix with that option before ...
That's a good possibility. I tried your CMakeLists.txt example with cmake
installed via Guix and I saw the same error. With my host distro's cmake it
works fine.
So it appears that file(DOWNLOAD) is broken in Guix's cmake. Perhaps no one
noticed because when building guix packages, dependencies are download in
advance rather than as part of the build.
> Still no solution ...
Sorry, I'm not of much help. I only have very limited experience with
cmake.
I tried using the LOG option in this way:
file(DOWNLOAD "http://fastjet.fr/repo/fastjet-3.3.3.tar.gz"
"fastjet-3.3.3.tar.gz" TIMEOUT 60 LOG FILE_LOG)
message(STATUS "file log = ${FILE_LOG}")
But ${FILE_LOG} is empty. Not sure whether I'm using the option in the
wrong way, or file didn't log this problem.
--
Thanks,
Thiago