JuliaStats / Rmath.jl

Archive of functions that emulate R's d-p-q-r functions for probability distributions
Other
16 stars 13 forks source link

Issue intalling Rmath -- "nmath.h" not found" #46

Closed dsmaynard closed 6 years ago

dsmaynard commented 7 years ago

I am trying to install and build Rmath on Julia v0.6.0. When I build I get this error. I've made sure that build-essentials is already installed (as some previous posts suggested). Any other ideas?


Pkg.build("Rmath")

INFO: Building Rmath
INFO: Attempting to Create directory /home/dsm/.julia/v0.6/Rmath/deps/downloads
INFO: Directory /home/dsm/.julia/v0.6/Rmath/deps/downloads already created
INFO: Downloading file https://github.com/JuliaLang/Rmath-julia/archive/v0.2.0.tar.gz
INFO: Done downloading file https://github.com/JuliaLang/Rmath-julia/archive/v0.2.0.tar.gz
INFO: Attempting to Create directory /home/dsm/.julia/v0.6/Rmath/deps/src
INFO: Directory /home/dsm/.julia/v0.6/Rmath/deps/src already created
INFO: Attempting to Create directory /home/dsm/.julia/v0.6/Rmath/deps
INFO: Directory /home/dsm/.julia/v0.6/Rmath/deps already created
INFO: Path /home/dsm/.julia/v0.6/Rmath/deps/src/Rmath-julia-0.2.0 already created
INFO: Attempting to Create directory /home/dsm/.julia/v0.6/Rmath/deps/usr/lib
INFO: Directory /home/dsm/.julia/v0.6/Rmath/deps/usr/lib already created
INFO: Changing Directory to /home/dsm/.julia/v0.6/Rmath/deps/src/Rmath-julia-0.2.0
dpois.c:35:19: fatal error: nmath.h: No such file or directory
compilation terminated.
make[1]: *** [dpois.o] Error 1
make: *** [all] Error 2
================================[ ERROR: Rmath ]================================

LoadError: failed process: Process(`make`, ProcessExited(2)) [2]
while loading /home/dsm/.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/dsm/.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

================================================================================
andreasnoack commented 6 years ago

Should be fixed by #55