-
Notifications
You must be signed in to change notification settings - Fork 8
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
Error installing #3
Comments
Hi @mooreann, It looks like you are trying to install the package using Mac OS X, which I am personally not familiar with. However, from error messages it looks like you are missing gfortran libraries that are required to compile some of R packages. You can find required packages and tools at https://cran.r-project.org/bin/macosx/tools/. If the error still persists after you install gfortran, let me know. Cheers, |
Yea it seems I already had fortran installed but reinstalled it anyway and still got the same errors. Still getting this one particularly, not sure if there's an easy way to fix if its just a pathing issue? warning: directory not found for option '-L/usr/local/gfortran/lib' |
Hi, @mooreann I can help you with questions about installing this package on MacOS |
Yes! Still having issues with gfortran which seems to be necessary for linseed installation. Noticed that its saying gfortran isn't available for the most recent version of R (version 3.6.1) so I installed the earlier version 3.3.1 and still saying gfortran isn't available for that version. |
I had similar problems with installation. My R version is also 3.6.1 and I am using the Mac OS X Mojave system.
Looks there is some issues with gfortran But I successfully install the package in the linux system (ubuntu 18), so this issue might be specific for Mac OS X system. |
Hi, @mooreann @haijingjin
Thank you! |
You're right! It is the gcc issue. I used the solution indicated in this webpage and it works. |
Hi @aladyeva-wustl - `ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
I downloaded gcc using brew |
For gfortran issues (especially after updating to new MacOS version) More details are here (gfortran is included in brew gcc package) |
I've been trying to install linseed via devtools in R but I cannot get it to work. At first the error was that my version of R was too old so I updated to R version 3.6.1 and restarted RStudio, but now the install just continues to fail. Here are some pieces of the error message:
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: *** [linseed.so] Error 1
ERROR: compilation failed for package ‘linseed’
Error: Failed to install 'linseed' from GitHub:
(converted from warning) installation of package ‘/var/folders/d1/rv814tl96ln88gj4jgqs0qzdm73d04/T//RtmpQ9R4Et/file357b31ab5866/linseed_0.99.2.tar.gz’ had non-zero exit status
I'm not sure if there's something obvious I'm doing/not doing but please let me know!
The text was updated successfully, but these errors were encountered: