I believe the issue is you are using too old of a gcc compiler. I think you need at least gcc 4.4.
On Wednesday, June 3, 2015 at 4:42:34 PM UTC-4, Samuel Colvin wrote: > > 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? >
