-
Notifications
You must be signed in to change notification settings - Fork 79
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
Unable to install on Mac M1 #348
Comments
Same issue here, here's the compilation log of
Thanks @alexiswl for pointing this issue out. |
To clarify, this is only an issue with hombrew R (or if you compiled R for yourself). If you use the R build from CRAN then fs is installed from a binary package by default, and it also compiles fine from source. |
I will try to fix this today, but right now I can't install R from Homebrew :( |
I cannot actually reproduce this even with homebrew R. |
I'm still having this issue (/easily able to replicate it 😜 ) using R from conda-forge.
|
@colinbrislawn shouldn't you use fs from conda then? https://anaconda.org/conda-forge/r-fs |
The conda-forge build does not support M1 chips yet, which is why I tried to build natively, which is how I got here. If we can get it building, I'll put in a patch to r-fs-feedstock so it's available from there too. |
What exactly is the error that you see? What is
in your R build? |
> R.Version()$platform
[1] "aarch64-apple-darwin20.0.0" I guess that explains it! Do you know how to fix this? |
Try replacing |
Fixed a issue r-lib#348 by importing the latest config.sub from https://git.savannah.gnu.org/cgit/config.git/plain/config.sub.
I send pull request. Please merge it. FYI: Another workaround is to simply run the following command:
|
Have Merged ? why the main branch fs/src/libuv-1.38.1/config.sub not updated ? |
I still have the error for homebrew R any idea how to fix. I use home-brew R because I use home-brew clang for all compiling including openmp, where default R does not support. Thanks, Jianshu |
Hi! I'm struggling to install
fs
(as a subdependency to thelanguageserver
package) onDarwin Kernel Version 21.1.0: Thu Aug 19 02:54:44 PDT 2021; root:xnu-8019.40.29~26/RELEASE_ARM64_T8101 arm64
.I'm getting the following error output:
The text was updated successfully, but these errors were encountered: