Closed evanmason closed 8 years ago
Install libcurl-devel
?
CMake Error at /usr/share/cmake/Modules/FindOpenSSL.cmake:293 (list):
I think you should report this to the maintainer of the Mageia 5 cmake package.
Yes, I have libcurl-devel installed.
I'll report this to Mageia.
Thanks
On Wed, Nov 4, 2015 at 2:11 PM, Tony Kelman notifications@github.com wrote:
CMake Error at /usr/share/cmake/Modules/FindOpenSSL.cmake:293 (list):
I think you should report this to the maintainer of the Mageia 5 cmake package.
— Reply to this email directly or view it on GitHub https://github.com/JuliaLang/julia/issues/13871#issuecomment-153715648.
CMake Error at /usr/share/cmake/Modules/FindOpenSSL.cmake:293 (list):
That's an upstream cmake issue with newer openssl versions, and should be fixed with cmake >= 3.1.1 according to https://cmake.org/Bug/view.php?id=15386
I'll try to submit a fixed cmake package for Mageia (even when I'm not the maintainer ;) ) Reported via https://bugs.mageia.org/show_bug.cgi?id=17088
That issue is fixed, it succeeds now:
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2d")
Afterwards libgit2 build works fine
Linking C executable libgit2_clar
[100%] Built target libgit2_clar
LIB_PATH for libssl: /lib64/libssl.so.1.0.0
'/lib64/libssl.so.1.0.0' -> '/home/doktor5000/julia/usr/lib/libssl.so.1.0.0'
LIB_PATH for libcrypto: /lib64/libcrypto.so.1.0.0
'/lib64/libcrypto.so.1.0.0' -> '/home/doktor5000/julia/usr/lib/libcrypto.so.1.0.0'
resulting in:
LINK usr/lib/julia/sys.so
CC usr/lib/libccalltest.so
[doktor5000@Mageia5]─[23:08:41]─[~/julia]./julia -v
julia version 0.4.1-pre
Thank you everyone, the new version of cmake became available on Mageia and I've been able to install 0.4.
That's an upstream cmake issue with newer openssl versions, and should be fixed with cmake >= 3.1.1
I'm experiencing this issue on Debian stable (jessie), which includes cmake
3.0.2. Has anyone else experienced this on Debian? I believe I have successfully built julia master
recently, but I am unable to build it now due to this error. If cmake
3.1.1 is indeed the minimum version required, this should probably be mentioned in the README. Even better would be to figure out a way for this to work with older cmake.
EDIT: FWIW, libgit2 README claims only cmake 2.8 or newer is required.
It's some trivial little bug in the FindOpenSSL.cmake module file, if you find the issue somewhere you can work out what the patch is and should be able to just make the change from https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5d9a8283cfac15b4a5a07f18d5eb10c1f388505 manually if you have sudo. If you don't build with openssl, or on other platforms, then you can build libgit2 with older cmake, so "minimum version" is a bit of a hazy concept. You can just download generic linux binaries of recent cmake and point Julia's build to use it by setting CMAKE
in Make.user
or in your make invocation. LLVM 3.9 will require cmake 3.4.3 at a minimum when we upgrade to that, so may as well prepare.
@tkelman Right; I know how to fix this on my own machine. What I am trying to report here is that if you type make
on the 0.5 release candidate on the latest version of Debian, it can fail with an error that is addressed nowhere in the README. My understanding is that such things have historically been considered a bug (but that's of course up to you).
until we do require newer cmake for llvm, it would be worth a readme note
Hi, I get the following error while doing a fresh install of Julia 0.4 on Mageia 5 Linux.
I do have both curl and openssh installed, plus devel packages, and they are in my PATH.
I suspect this may be related to #13472 but I'm still no closer to a solution. Installing 0.3 is successful.