# FreeBSD GR download link missing

**URL:** <https://discourse.julialang.org/t/freebsd-gr-download-link-missing/24241>\
**Category:** Visualization\
**Created:** [May 15, 2019, 2:59pm UTC](https://discourse.julialang.org/t/freebsd-gr-download-link-missing/24241 "2019-05-15T14:59:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_van\_Weelderen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rob_van_weelderen/32/7621_2.png) [@Rob\_van\_Weelderen](https://discourse.julialang.org/u/Rob_van_Weelderen)\
**Post date:** [May 15, 2019, 2:59pm UTC](https://discourse.julialang.org/t/freebsd-gr-download-link-missing/24241/1 "2019-05-15T14:59:02Z")

</div>

Hi there,

I’m trying to install the GR plotting library on FreeBSD 12.0 (stable), but the build fails with the message (see below), of which the main complaint is:

`Error opening archive: Failed to open 'downloads/gr-0.39.0-FreeBSD-x86_64.tar.gz'`

In the GR specific _deps_ directory the option for FreeBSD is missing in the build.jl file.

Is this something that can be easily solved?

Thanks in advance,  
Rob.

```julia
Building GR → `~/.julia/packages/GR/KGODl/deps/build.log`
┌ Error: Error building `GR`: 
│ % 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
│ % 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
│ % 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
│ tar: Error opening archive: Failed to open 'downloads/gr-0.39.0-FreeBSD-x86_64.tar.gz'
│ [ Info: Downloading pre-compiled GR 0.39.0 FreeBSD binary
│ [ Info: Using insecure connection
│ [ Info: Cannot download GR run-time
│ ERROR: LoadError: failed process: Process(`tar xzf downloads/gr-0.39.0-FreeBSD-x86_64.tar.gz`, ProcessExited(1)) [1]
│ Stacktrace:
│ [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
│ [2] pipeline_error at ./process.jl:705 [inlined]
│ [3] #run#503(::Bool, ::Function, ::Cmd) at ./process.jl:663
│ [4] run(::Cmd) at ./process.jl:661
│ [5] top-level scope at /home/rob/.julia/packages/GR/KGODl/deps/build.jl:118
│ [6] include at ./boot.jl:317 [inlined]
│ [7] include_relative(::Module, ::String) at ./loading.jl:1044
│ [8] include(::Module, ::String) at ./sysimg.jl:29
│ [9] include(::String) at ./client.jl:392
│ [10] top-level scope at none:0
│ in expression starting at /home/rob/.julia/packages/GR/KGODl/deps/build.jl:63
└ @ Pkg.Operations /wrkdirs/usr/ports/lang/julia/work/julia-1.0.3/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097

```

---

<div class="post-metadata">

**Author:** ![lonnic](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@lonnic](https://discourse.julialang.org/u/lonnic)\
**Post date:** [June 24, 2020, 5:23pm UTC](https://discourse.julialang.org/t/freebsd-gr-download-link-missing/24241/2 "2020-06-24T17:23:38Z")

</div>

Hi,  
I have same situation.  
Here running freebsd 12.1 atom 1.45 from ports.  
Everything works well but I have problems  
with building Plots  
so I’m trying instructions from here:

[https://github.com/jheinen/GR.jl/issues/268](https://github.com/jheinen/GR.jl/issues/268)

but there is another problem  
when starting (see instructions)  
5. make  
in freebsd  
I have:  
[freebsd@hostname ~/Downloads/gr/gr-master]$ make  
make: “/usr/home/freebsd/Downloads/gr/gr-master/Makefile” line 56: Missing dependency operator  
make: “/usr/home/freebsd/Downloads/gr/gr-master/Makefile” line 69: Need an operator  
make: “/usr/home/freebsd/Downloads/gr/gr-master/Makefile” line 84: Need an operator

I hope to solve …

---

<div class="post-metadata">

**Author:** ![Rob\_van\_Weelderen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rob_van_weelderen/32/7621_2.png) [@Rob\_van\_Weelderen](https://discourse.julialang.org/u/Rob_van_Weelderen)\
**Post date:** [June 25, 2020, 2:10pm UTC](https://discourse.julialang.org/t/freebsd-gr-download-link-missing/24241/3 "2020-06-25T14:10:41Z")

</div>

Dear Ionnic,

I asked at Github [issue no 268](https://github.com/jheinen/GR.jl/issues/268) and user ko56 gave the following hints

```julia
Building on FreeBSD 12.1 is easy. Here is what I did:

    Get gr-master.zip from https://github.com/sciapp/gr

    cd ~/build
    unzip -q ../Downloads/gr-master.zip

    Edit lib/Preflight:
    a) #!/usr/local/bin/bash
    b) if [-f /usr/local/bin/python3.7]

    Edit Makefile:

GRDIR = /opt/gr
CONFIG = xft=no

UNAME := $(shell uname)

    Edit gr-master/lib/gr3/gr3_internals.h:

#elif defined(linux) || defined(FreeBSD)
/* OpenGL Extension to the X Window System (GLX) on Linux */
#define GR3_USE_GLX
#include "gr3_glx.h"
#elif defined(_WIN32)

    make

    sudo gmake install

    In julia,

    ENV["GRDIR"] = "/opt/gr"
    ] add GR

```

I was very pleased to receive this info from ko56, but I have to admit that since I moved to use [PGFPlotsX.jl](https://github.com/KristofferC/PGFPlotsX.jl) exclusively I didn’t investigate any further.

If this works please report back so we can close this thread as `solved`

Rob.
