-
-
Notifications
You must be signed in to change notification settings - Fork 200
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 compiling from source on macOS #382
Comments
I know it's not very helpful, I just wanted to note that it did compile for me on macOS 10.14 with clang 9.0 from MacPorts (but I doubt that this has much to do with the different compiler). |
That does not look like a supported fortran compiler. |
The error starts in line ccache /usr/local/clang7/bin/clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -DUSING_R -I. -Iinclude -Ics -Iplfit -ICHOLMOD/Include -IAMD/Include -ICOLAMD/Include -ISuiteSparse_config -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -DNDEBUG -DNPARTITION -DNTIMER -DNCAMD -DNPRINT -DPACKAGE_VERSION=\"1.2.5\" -DINTERNAL_ARPACK -DIGRAPH_THREAD_LOCAL=/**/ -fPIC -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -c CHOLMOD/Check/cholmod_check.c -o CHOLMOD/Check/cholmod_check.o The I am using (The same occurs without |
Oh, right! Sry, my mistake.
But CRAN is apparently also able to compile it with their compilers. Maybe it only fails with new SDKs, e.g. on Catalina? |
Seems like its related to Catalina.
There is only sparse/no information about such issue for Catalina and I feel a bt lost here. Apparently CRAN has no access to a Catalina machine and only runs/tests on El Capitan/Sierra. I am somewhat worried about the overall situation. |
Just curious if you can compile the C interface alone, with the same toolchain (no Fortran needed for that). Instructions: https://igraph.org/c/#cinstall If you don't want to fuss with dependencies, pass |
Thanks for helping! The following works (default clang)
(custom clang7)
I have |
Turns out SDK 10.15 is the problem. Using 10.13 solves the problem
We will need to have some discussion about this on R-SIG-MAC how to proceed further. |
In case you need another point of reference, I wasn't able to install the package using SDK 10.15 either. However, I was able to successfully install it using 10.14. |
Compilers tested:
The same goes for the previous version (1.2.4) so it looks like a generic problem.
I know that I could just install the binary but I would like to solve this for the source installation way.
Details
The text was updated successfully, but these errors were encountered: