-
Notifications
You must be signed in to change notification settings - Fork 13
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
leidenbase compilation failed Mac OS X #6
Comments
I did some digging and it looks like this error might be be because I am using OS X 10.11. Does this build work on upgraded Mac OS? |
Hi @Connorr0, I test leidenbase on a MacBook Pro running OS X version 10.11.6, and it builds and runs. I used the R package distributed by CRAN, which is at the URL https://cran.r-project.org/bin/macosx/R-3.6.1.pkg and I installed the CRAN gfortran compiler, which is at the URL https://cran.r-project.org/bin/macosx/tools/gfortran-6.1.pkg I searched using google for information about the error that you report and found evidence that R builds using the brew command on OS X 10.11 can fail because there is no |
I was running into a slightly different error with compilation of leidenbase (a different file not found), on Mac OS X 10.14.6 and R 3.5.2. I had initially installed gfortran using homebrew, and that was not working. After I installed the CRAN gfortran compiler, linked above by brgew, the compilation and install of leidenbase worked fine. |
I reinstalled gofortran (from the link above) and restarted my computer and now received the following error:
I also get a lot of output printed to terminal. Here are the first few lines:
Currently the computer I am using has many files on it and has no backups so I am waiting for the new backup drive to arrive before I update. |
I got rid of the old version of gfortran and now it appears that R cannot find any installation. I think that this means that I will have to configure a makevars file. Did you have to do this for the gfortran 6.1? |
Hi @Connorr0, I have not configured a special Makevars file in order to build leidenbase on the Mac. This is confusing. I don't know the best way to investigate but I can offer some thoughts Perhaps there are incompatibilities between R and/or between the various compilers and/or their libraries. Can you tell me how you installed the C, C++, FORTRAN compilers, and how you installed R? It may help to look at the information in the R Makeconf file, which should be in the directory, or a subdirectory of, R_HOME/etc. You can use the R command R.home() to find the R_HOME path. I think that the most relevant lines start with CC = In your earlier message, you included warnings from gfortran but no errors. Yet it appears that the |
R installation: Updated using updateR() /usr/local/gfortran/lib contains:
*I removed the fortran previously found in this location
|
Hi @Connorr0, I'm confused about some of the details I see. Let's start with R. How did you install R originally? Did type clang And you need gfortran installed, so if you have not reinstalled it at /usr/local/gfortran using the |
R was installed using the updateR() function from the package https://github.com/AndreaCirilloAC/updateR I thought I installed clang but when I run /usr/local/gfortran appears to be populated. |
Hi @Connorr0 , I may be unable to help you with these problems. I don't see how you installed R initially and the error message for 'type clang' is unfamiliar to me (perhaps you are not running a bash shell). I can tell you that I tested leidenbase on a MacBook Pro running Mac OS X 10.11. I installed the R Yesterday, as a check, I installed clang7 from CRAN, set my PATH environment variable to include I have no insight into the sources of the problems that you see. I wish you success! |
Similar to some other users, I had trouble installing the leidenbase package on a machine running MacOS X 10.11, and got some vague error message instead. I solved the issue by reinstalling gfortran via homebrew: |
Hi @ncalistri, That is great. Thank you for reporting your solution. |
I also have the same problem with leidenbase compilation in the process of monocle3 installation .My Mac Pro runs MacOS X 10.14 and R 3.6.1. |
I ended up installing clang with |
Hello, I am getting the following error when I try to install leidenbase:
ld: file not found: /usr/lib/system/libsystem_symptoms.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [leidenbase.so] Error 1
ERROR: compilation failed for package ‘leidenbase’
I was wondering if you have any advice?
The text was updated successfully, but these errors were encountered: