Closed peter-fm closed 4 years ago
The 20.1 release notes contain some additional hints for macOS users: https://www.graalvm.org/docs/release-notes/20_1/
That seems to have worked! The default installation of brew install gcc
is 9.3.0 not 8.3.0 as it says in the docs but like a maverick I still ran install_name_tool -change /cm/shared/apps/gcc/8.3.0/lib/libgomp.1.dylib $GOMPLIB $R_HOME/lib/libRblas.dylib
and install_name_tool -change /cm/shared/apps/gcc/8.3.0/lib/libgomp.1.dylib $GOMPLIB $R_HOME/lib/libRlapack.dylib
so I'm guessing the 8.3.0 path is pointing to a 9.3.0 version but it seems to work and I can install packages and run code. Many thanks @fniephaus!
I went through the same pain and raised the issue on Slack, that's when they added the hints. Hopefully, this will be easier to set up with the next release. /cc @steve-s
Yes, we are working on improving this in the next release: there should be zero additional requirements for FastR on MacOS. Thank you @fniephaus for responding faster than me :-) I assume we can close this for now.
A few more specific instructions from my installation experience on macOS 10.15.5:
$GOMPLIB
= /usr/local/Cellar/gcc@8/8.4.0_1/lib/gcc/8/libgomp.1.dylib
$GRAALVM_HOME
= /Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0/Contents/Home/
Ran
install_name_tool -change /cm/shared/apps/gcc/8.3.0/lib/libgomp.1.dylib $GOMPLIB $GRAALVM_HOME/languages/R/lib/libRlapack.dylib
install_name_tool -change /cm/shared/apps/gcc/8.3.0/lib/libgomp.1.dylib $GOMPLIB $GRAALVM_HOME/languages/R/lib/libRblas.dylib
and was then able to start R via /Library/Java/JavaVirtualMachines/graalvm-ce-java11-20.1.0/Contents/Home/bin/R
Trying to install FastR on macOS, I originally installed the compiler:
brew install gcc@4.9
Then seem to be able to install R okay:
Then I run the configure_fastr script:
Then at this point it asks if I want to create a personal directory to which I choose y:
which looks like an error and when I run R it produces:
Any help with this?