Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue downloading and installing Rmath on windows #38

Closed
pclausen opened this issue Feb 25, 2018 · 5 comments
Closed

Issue downloading and installing Rmath on windows #38

pclausen opened this issue Feb 25, 2018 · 5 comments

Comments

@pclausen
Copy link

pclausen commented Feb 25, 2018

During installation of Gadfly I got this following error.

INFO: Downloading file https://github.com/JuliaLang/Rmath-julia/releases/downloa
d/v0.2.0/libRmath-julia-win-x86_64-v0.2.0.zip
Exception calling "DownloadFile" with "2" argument(s): "The request was
aborted: Could not create SSL/TLS secure channel."
At line:1 char:1
+ (new-object
net.webclient).DownloadFile("https://github.com/JuliaLang/Rmath-juli ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

================================[ ERROR: Rmath ]================================


LoadError: failed process: Process(`'C:\Windows\System32\WindowsPowerShell\v1.0\
powershell' -NoProfile -Command '(new-object net.webclient).DownloadFile("https:
//github.com/JuliaLang/Rmath-julia/releases/download/v0.2.0/libRmath-julia-win-x
86_64-v0.2.0.zip", "C:\Users\xr3\.julia\v0.6\Rmath\deps\downloads\libRmath-julia
-win-x86_64-v0.2.0.zip")'`, ProcessExited(1)) [1]
while loading C:\Users\xr3\.julia\v0.6\Rmath\deps\build.jl, in expression starti
ng on line 47 
@pclausen
Copy link
Author

pclausen commented Feb 25, 2018

The workaround was to download the file
https://github.com/JuliaLang/Rmath-julia/releases/download/v0.2.0/libRmath-julia-win-x86_64-v0.2.0.zip and put it into %HOME%.julia\v0.6\Rmath\deps\downloads then run
Pkg.build("Rmath")

@nalimilan
Copy link
Member

Sounds related to JuliaLang/julia#26167.

@pclausen
Copy link
Author

@nalimilan No, I had the same problem but got it fixed it with the mentioned "Easy Fix". Before that got fixed, NOTHING worked, not even Pkg.update() on a clean install. So I believe this problem is related to the download of the zip file (which is weird because all others packages could download without issues....).

@simonbyrne
Copy link
Member

I think it's due to GitHub requiring TLS 1.1+: Rmath is one of the few package binaries which is actually hosted on GitHub (I think most other use openSUSE).

@simonbyrne
Copy link
Member

Should be fixed now by JuliaPackaging/BinDeps.jl#354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants