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

problem installing #196

Open
ElenaSLuis opened this issue Jan 31, 2023 · 3 comments
Open

problem installing #196

ElenaSLuis opened this issue Jan 31, 2023 · 3 comments

Comments

@ElenaSLuis
Copy link

I have a problem when I try to install

devtools::install_github("velocyto-team/velocyto.R")

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

  • removing ‘/Users/elena/renv/library/R-4.2/x86_64-apple-darwin17.0/velocyto.R’
    Warning message:
    In i.p(...) :
    installation of package ‘/var/folders/yc/vf12kh5j2yqfdf9g8g2q3gz40000gn/T//Rtmpn0Vw3R/file81566fb532e/velocyto.R_0.6.tar.gz’ had non-zero exit status

thank you!

@Pedramto89
Copy link

Hi
I have the same issue. Any update?

@zzo-joe
Copy link

zzo-joe commented Apr 11, 2023

Hi
I still have the same issue, and there are no updates at all.
Is there anyone who installed this package successfully???

@ehoreth
Copy link

ehoreth commented Aug 2, 2023

I had the same install issue as everyone posting here. I followed this link to edit my ~/.R/Makevars file. As per cherman's comment in the link: https://stackoverflow.com/questions/69639782/installing-gfortran-on-macbook-with-apple-m1-chip-for-use-in-r

I adapted his answer to fit my directories as follows:

FC = usr/local/Cellar/gcc/13.1.0/bin/gfortran
F77 = usr/local/Cellar/gcc/13.1.0/bin/gfortran
FLIBS = -L/usr/local/Cellar/gcc/13.1.0/lib/gcc/13

Feel free to message me if you need further explanation.

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

4 participants