Error in building julia

i get this error when I try to make
/home/balaji/julia/deps/llvm.mk:575: *** Attempting to use gcc4 LLVM tarball, but compiling with cxx11 string ABI; set “CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0” to avoid linker errors. Stop.
Makefile:60: recipe for target ‘julia-deps’ failed
make: *** [julia-deps] Error 2

Which version of Julia is this?

What is your OS?

Did you try the flags suggested?

Did you try what the error message suggests? That should work. The other option is to update gcc.

1 Like

I cloned julia’s repository as on 13th January.
I use Ubuntu 16.04
Yes, I tried the suggested improvement.
Still didn’t work.

You may need to update Ubuntu. gcc on 16.04 is really old.

1 Like

worked thanks!

curl: (22) The requested URL returned error: 404 Not Found
/home/balaji/julia/deps/suitesparse.mk:144: recipe for target ‘/home/balaji/julia/deps/srccache/SuiteSparse.v5.4.0-2…tar.gz’ failed
make[1]: *** [/home/balaji/julia/deps/srccache/SuiteSparse.v5.4.0-2…tar.gz] Error 22
Makefile:60: recipe for target ‘julia-deps’ failed
make: *** [julia-deps] Error 2
now i get this