Le jeudi 04 juin 2015 à 23:28 +0200, Milan Bouchet-Valat a écrit :
> Le jeudi 04 juin 2015 à 22:19 +0100, Samuel Colvin a écrit :
> > Thanks for you help.
> > 
> > 
> > Ok that works (actually it failed again, but this time it was due to
> > missing m4 which is easy enough to notice and install).
> Cool!
> 
> > I'm happy to create an issue, but I'm a little unclear on whether this
> > is julia's fault or GnuTLS's fault? Where should I be submitting the
> > issue?
> This is certainly not Julia's fault, as it's merely calling the
> configure script. It doesn't look like it's GNU TLS's fault either, but
> rather that of Nettle. If you feel like it, it might be interesting to
> get in touch with its maintainer:
> http://www.lysator.liu.se/~nisse/nettle/
Looks like I spoke too soon. It may well be that this -lgmp flag comes
from GnuTLS.jl:
https://github.com/JuliaWeb/GnuTLS.jl/blob/8780b9acfc49ebf9b231b373d31c2c4046f93f13/deps/build.jl#L48


Another issue is that it should have been able to use the Ubuntu package
instead of building from source. It seems the package is (now?) called
libgnutls-deb0-28, which will need to be added to the build.jl file.

So I think you can start by filing an issue against GnuTLS.jl.


Regards

> 
> Regards
> 
> > Thanks again.
> > 
> > 
> > --
> > 
> > Samuel Colvin
> > [email protected],
> > 07801160713
> > 
> > On 4 June 2015 at 22:12, Milan Bouchet-Valat <[email protected]>
> > wrote:
> >         Le jeudi 04 juin 2015 à 13:59 -0700, Samuel Colvin a écrit :
> >         > config.log:
> >         https://gist.github.com/samuelcolvin/91ca748699ce6dc81660
> >         >
> >         >
> >         > I looked though it myself before posting this issue but
> >         couldn't see
> >         > anything obvious.
> >         Ah, I think the explanation lies here:
> >         /usr/bin/ld: cannot find -lgmp
> >         
> >         You need to install libgmp-dev.
> >         
> >         But I would have expected configure to check for this
> >         explicitly
> >         somewhere else. Maybe worth reporting upstream.
> >         
> >         
> >         Regards
> >         
> >         > On Thursday, 4 June 2015 21:53:45 UTC+1, Milan Bouchet-Valat
> >         wrote:
> >         >         Le mercredi 03 juin 2015 à 13:42 -0700, Samuel
> >         Colvin a
> >         >         écrit :
> >         >         > Just tried to install Quandl and found GnuTLS
> >         won't install,
> >         >         > I'm on Ubuntu 15.04,
> >         >         >
> >         >         >
> >         >         > version info:
> >         >         > Julia Version 0.3.8
> >         >         > Commit 79599ad (2015-04-30 23:40 UTC)
> >         >         > Platform Info:
> >         >         >   System: Linux (x86_64-linux-gnu)
> >         >         >   CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
> >         >         >   WORD_SIZE: 64
> >         >         >   BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH
> >         NO_AFFINITY
> >         >         > Sandybridge)
> >         >         >   LAPACK: liblapack.so.3
> >         >         >   LIBM: libopenlibm
> >         >         >   LLVM: libLLVM-3.3
> >         >         >
> >         >         > Error:
> >         >         >
> >         >         >
> >         >         > INFO: Cloning cache of GnuTLS from
> >         >         > git://github.com/JuliaWeb/GnuTLS.jl.git
> >         >         > INFO: Installing GnuTLS v0.0.4
> >         >         > INFO: Building Nettle
> >         >         > INFO: Building GnuTLS
> >         >         > INFO: Attempting to Create
> >         >         >
> >         directory /home/samuel/.julia/v0.3/GnuTLS/deps/downloads
> >         >         > INFO: Downloading file
> >         >         >
> >         http://www.lysator.liu.se/~nisse/archive/nettle-2.7.tar.gz
> >         >         >   % Total    % Received % Xferd  Average Speed
> >          Time
> >         >         >  Time     Time  Current
> >         >         >                                  Dload  Upload
> >          Total
> >         >         > Spent    Left  Speed
> >         >         > 100 1521k  100 1521k    0     0   814k      0
> >         0:00:01
> >         >         >  0:00:01 --:--:--  814k
> >         >         > INFO: Done downloading file
> >         >         >
> >         http://www.lysator.liu.se/~nisse/archive/nettle-2.7.tar.gz
> >         >         > INFO: Attempting to Create
> >         >         > directory /home/samuel/.julia/v0.3/GnuTLS/deps/src
> >         >         > INFO: Attempting to Create
> >         >         > directory /home/samuel/.julia/v0.3/GnuTLS/deps
> >         >         > INFO:
> >         Directory /home/samuel/.julia/v0.3/GnuTLS/deps already
> >         >         > created
> >         >         > INFO: Attempting to Create
> >         >         >
> >         directory /home/samuel/.julia/v0.3/GnuTLS/deps/src/nettle-2.7
> >         >         > INFO: Attempting to Create
> >         >         >
> >         directory /home/samuel/.julia/v0.3/GnuTLS/deps/builds/nettle
> >         >         > INFO: Changing Directory
> >         >         >
> >         to /home/samuel/.julia/v0.3/GnuTLS/deps/builds/nettle
> >         >         > checking build system type...
> >         x86_64-unknown-linux-gnu
> >         >         > checking host system type...
> >         x86_64-unknown-linux-gnu
> >         >         > checking for -R flag... using -Wl,-rpath,
> >         >         > Searching for libraries
> >         >         >
> >         checking /home/samuel/.julia/v0.3/GnuTLS/deps/usr/lib... not
> >         >         > found
> >         >         > checking /usr/local/lib... added
> >         >         > checking /sw/local/lib... not found
> >         >         > checking /sw/lib... not found
> >         >         > checking /usr/gnu/lib... not found
> >         >         > checking /opt/gnu/lib... not found
> >         >         > checking /sw/gnu/lib... not found
> >         >         > checking /usr/freeware/lib... not found
> >         >         > checking /usr/pkg/lib... not found
> >         >         > checking for gcc... gcc
> >         >         > checking whether the C compiler works... no
> >         >         > configure: error: in
> >         >         >
> >         `/home/samuel/.julia/v0.3/GnuTLS/deps/builds/nettle':
> >         >         > configure: error: C compiler cannot create
> >         executables
> >         >         >
> >         >         >
> >         >         >
> >         >         >
> >         >         > There then follows a long error from the line
> >         which failed
> >         >         > (the exit code is 77), but it looks to me like the
> >         all the
> >         >         > "not found" and the "checking whether the C
> >         compiler
> >         >         > works... no" are the real error here. I have gcc,
> >         >         > build-essential and all the versions of llvm from
> >         the
> >         >         > aptitude installed. Nettle installed fine before
> >         this.
> >         >         >
> >         >         >
> >         >         > I assume I'm doing/not doing/missing something
> >         very dumb?
> >         >         >
> >         >         >
> >         >         > Is the problem that I need to somehow install
> >         llvm-3.3?
> >         >         Note that the check says "whether the C compiler
> >         works": I
> >         >         think it's actually trying to build a small C
> >         program. You
> >         >         should be able to get more details in config.log in
> >         the same
> >         >         directory. There may even be a command line to run
> >         to
> >         >         reproduce the problem.
> >         >
> >         >
> >         >         Regards
> >         >
> >         
> >         
> > 
> > 

Reply via email to