Skip to content

Instantly share code, notes, and snippets.

@AngelBerihuete
Created October 5, 2016 10:50
Show Gist options
  • Save AngelBerihuete/7e3b635efe8e37a36c4758e2a5089bd5 to your computer and use it in GitHub Desktop.
Save AngelBerihuete/7e3b635efe8e37a36c4758e2a5089bd5 to your computer and use it in GitHub Desktop.
Existe un problema cuando se instala Rmath en julia (OpenSUSE)
julia> Pkg.build("Rmath")
INFO: Building Rmath
INFO: Attempting to Create directory /home/angel/.julia/v0.5/Rmath/deps/downloads
INFO: Directory /home/angel/.julia/v0.5/Rmath/deps/downloads already created
INFO: Downloading file https://github.com/JuliaLang/Rmath-julia/archive/v0.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (77) error setting certificate verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
======================================[ ERROR: Rmath ]=======================================
LoadError: failed process: Process(`curl -f -o /home/angel/.julia/v0.5/Rmath/deps/downloads/v0.1.tar.gz -L https://github.com/JuliaLang/Rmath-julia/archive/v0.1.tar.gz`, ProcessExited(77)) [77]
while loading /home/angel/.julia/v0.5/Rmath/deps/build.jl, in expression starting on line 39
=============================================================================================
======================================[ BUILD ERRORS ]=======================================
WARNING: Rmath had build errors.
- packages with build errors remain installed in /home/angel/.julia/v0.5
- build the package(s) and all dependencies with `Pkg.build("Rmath")`
- build a single package by running its `deps/build.jl` script
=============================================================================================
Para solucionarlo basta entrar en /var/lib/ca-certificates y hacer un link:
sudo ln ca-bundle.pem /etc/pki/tls/certs/ca-bundle.crt
Posiblemente tengas que crear primero el directorio sudo mkdir -p etc/pki/tls/certs/
@nickschurch
Copy link

I am also getting the same error on Ubuntu 17.04 with Julia 0.5.2:

julia> Pkg.build("Rmath")
INFO: Building Rmath
INFO: Attempting to Create directory /home/nick/.julia/v0.5/Rmath/deps/downloads
INFO: Directory /home/nick/.julia/v0.5/Rmath/deps/downloads already created
INFO: Downloading file https://github.com/JuliaLang/Rmath-julia/archive/v0.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (77) error setting certificate verify locations:
  CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
=========================================================================================[ ERROR: Rmath ]==========================================================================================

LoadError: failed process: Process(`curl -f -o /home/nick/.julia/v0.5/Rmath/deps/downloads/v0.1.tar.gz -L https://github.com/JuliaLang/Rmath-julia/archive/v0.1.tar.gz`, ProcessExited(77)) [77]
while loading /home/nick/.julia/v0.5/Rmath/deps/build.jl, in expression starting on line 43

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

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

WARNING: Rmath had build errors.

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment