Open Quantisan opened 9 years ago
Looks like it's because it's trying to build nettle from source on Debian. I've switched to Ubuntu and it's installed libnettle4 properly. Feel free to close this if you want.
Actually, if you give me some pointers, I'd like to patch this so it works with Debian too.
@Quantisan That's quite easy actually. You just need to replace "libgnutls28"
with ["libgnutls28", "libgnutls-deb0-28"]
at https://github.com/JuliaWeb/GnuTLS.jl/blob/master/deps/build.jl#L40
Then GnuTLS depends on Nettle, so it should be enough to get it installed automatically.
I think that you're also going to fix an issue recently raised in a thread (https://groups.google.com/d/msg/julia-users/CLtPbHKUYKo/ZR202BsOh48J) about Ubuntu. I'm not sure why it worked for you, as the package name does not seem correct...
If you do that, please also replace "libgnutls"
with ["gnutls", "libgnutls"]
in the line below (that's for Fedora/OpenSuSE/Mandriva).
I just ran into this on Ubuntu. Since we depend on the Nettle.jl
package, we know Nettle
must first be installed, so why are we compiling Nettle
from scratch at all?
I just ran into this one on Ubuntu 15.04 and resolved it with a standard Pkg.checkout("GnuTLS")
. A new release would be wonderful to unbreak the default version of the package for Debian et al.
I've resolved a couple build errors already by installing some undocumented prerequisites on the Debian-based image. But I'm still getting this error:
I'm working on getting it to work. Will post an update if I find a solution. In the mean time, any pointer would be appreciated!