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

Installing from source on Mac #107

Closed
dfalbel opened this issue Feb 5, 2019 · 5 comments
Closed

Installing from source on Mac #107

dfalbel opened this issue Feb 5, 2019 · 5 comments

Comments

@dfalbel
Copy link

dfalbel commented Feb 5, 2019

In order to install from source on Mac I had to install gfortran as described here.

I was seeing some errors like this:

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [fable.so] Error 1
ERROR: compilation failed for package ‘fable’

I am posting this here since it took me some time to figure out how to fix this and maybe, this post can help other people with the same problem.

@dfalbel
Copy link
Author

dfalbel commented Feb 5, 2019

It may be related to #99

@mitchelloharawild
Copy link
Member

Looks like even though you've installed gfortran, R is still unable to find it.
Can you check if the places where R is looking for gfortran exist?

@dfalbel
Copy link
Author

dfalbel commented Feb 6, 2019

@mitchelloharawild The problem was solved after installing fortran from here. I posted my solution here so maybe others could find it useful.

@mitchelloharawild
Copy link
Member

Oh, I see! Great, thanks for your tip!

@emaiannone
Copy link

Thank you @dfalbel, installing gfortran on Linux Manjaro solved a similar issue. Many thanks!

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