Rmath issues

I’m attempting to use julia 0.6 in my home directory, and when I try to install Rmath (for Gadfly, amongst other packages), I get the following error:

INFO: Directory /home/gsimpson/.julia/v0.6/Rmath/deps/usr/lib already created
INFO: Changing Directory to /home/gsimpson/.julia/v0.6/Rmath/deps/src/Rmath-julia-0.2.0
In file included from i1mach.c:21:0:
nmath.h:40:18: fatal error: math.h: No such file or directory
compilation terminated.
make[1]: *** [i1mach.o] Error 1
make: *** [all] Error 2
================================[ ERROR: Rmath ]================================

LoadError: failed process: Process(`make`, ProcessExited(2)) [2]
while loading /home/gsimpson/.julia/v0.6/Rmath/deps/build.jl, in expression starting on line 42

================================================================================

================================[ BUILD ERRORS ]================================

WARNING: Rmath had build errors.

 - packages with build errors remain installed in /home/gsimpson/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("Rmath")`
 - build a single package by running its `deps/build.jl` script


This appeared to be the result of a missing package on my Linux Mint installation. This was resolved by ensuring build-essential was installed.

1 Like

Sorry, this is unfortunately a known issue with BinDeps.jl which is used to build it.
https://github.com/JuliaStats/Rmath.jl/issues/27

We do need a better solution.