# Julia-1.5.1 build error on ubuntu-mate

**URL:** <https://discourse.julialang.org/t/julia-1-5-1-build-error-on-ubuntu-mate/46542>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 13, 2020, 8:55am UTC](https://discourse.julialang.org/t/julia-1-5-1-build-error-on-ubuntu-mate/46542 "2020-09-13T08:55:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vadrer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vadrer/32/17894_2.png) [@vadrer](https://discourse.julialang.org/u/vadrer)\
**Post date:** [September 13, 2020, 8:55am UTC](https://discourse.julialang.org/t/julia-1-5-1-build-error-on-ubuntu-mate/46542/1 "2020-09-13T08:55:11Z")

</div>

I have build error when trying to build latest 1.5.1 on ubuntu `Linux vad-1025C 5.3.0-61-generic #55~18.04.1-Ubuntu SMP Mon Jun 22 16:40:46 UTC 2020 i686 i686 i686 GNU/Linux`

```julia
vad@vad-1025C:~/julia/julia-1.5.1$ make
Warning: git information unavailable; versioning information limited
Warning: git information unavailable; versioning information limited
Warning: git information unavailable; versioning information limited
/bin/sh: 1: gfortran: not found
Traceback (most recent call last):
  File "/home/vad/julia/julia-1.5.1/contrib/normalize_triplet.py", line 120, in <module>
    }[list(filter(lambda x: re.match("\d+\.\d+(\.\d+)?", x), sys.argv[2].split()))[-1].split('.')[0]]
IndexError: list index out of range
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 453 100 453 0 0 745 0 --:--:-- --:--:-- --:--:-- 743
  0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
/home/vad/julia/julia-1.5.1/deps/suitesparse.mk:144: recipe for target '/home/vad/julia/julia-1.5.1/deps/srccache/SuiteSparse.v5.4.0-6..tar.gz' failed
make[1]: *** [/home/vad/julia/julia-1.5.1/deps/srccache/SuiteSparse.v5.4.0-6..tar.gz] Error 22
Makefile:60: recipe for target 'julia-deps' failed
make: *** [julia-deps] Error 2

```

obviously error is in extra dot in `SuiteSparse.v5.4.0-6..tar.gz` - but how do I fix it?

thank you in advance

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [September 13, 2020, 11:54am UTC](https://discourse.julialang.org/t/julia-1-5-1-build-error-on-ubuntu-mate/46542/2 "2020-09-13T11:54:17Z")

</div>

```julia
/bin/sh: 1: gfortran: not found

```

You need to install `gfortran`.

---

<div class="post-metadata">

**Author:** ![vadrer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vadrer/32/17894_2.png) [@vadrer](https://discourse.julialang.org/u/vadrer)\
**Post date:** [September 13, 2020, 2:44pm UTC](https://discourse.julialang.org/t/julia-1-5-1-build-error-on-ubuntu-mate/46542/3 "2020-09-13T14:44:50Z")

</div>

thank you, that helped! 👍🏻

though, seems like missing gfortran made configuration scripts out of control

---

<div class="post-metadata">

**Author:** ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Post date:** [September 13, 2020, 7:29pm UTC](https://discourse.julialang.org/t/julia-1-5-1-build-error-on-ubuntu-mate/46542/4 "2020-09-13T19:29:02Z")

</div>

( for the future readers - with similar problems )

build doc ( v1.5.1 ) :

- [https://github.com/JuliaLang/julia/blob/v1.5.1/doc/build/build.md#required-build-tools-and-external-libraries](https://github.com/JuliaLang/julia/blob/v1.5.1/doc/build/build.md#required-build-tools-and-external-libraries)

relevant part:

_“On Debian-based distributions (e.g. Ubuntu), you can easily install them with apt-get:”_

`sudo apt-get install build-essential libatomic1 python gfortran perl wget m4 cmake pkg-config`
