-
Notifications
You must be signed in to change notification settings - Fork 101
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
fpm fails to build on macOS with Conda #543
Comments
This works in Windows: |
That works! I did:
And this now builds fpm on my macOS. Thank you @brocolis. |
I am going to keep this issue open until either:
I think |
Can you provide the output of I think you might be hitting conda-forge/gfortran_osx-64-feedstock#11, which has been lingered in the GCC toolchain for OSX for quite a while now and has only been fixed recently. |
This should be solved with #527 now. |
I use the usual
conda create -n fpm fpm gfortran clang
and then go to thefpm
git repository and:The failure comes from the fact that
gfortran
is being used to compile a C file. If you use the defaultcc
compiler, it would compile just fine:$ cc -c ./src/filesystem_utilities.c -o build/gfortran_2A42023B310FA28D/fpm/src_filesystem_utilities.c.o
Since I now can't compile
fpm
in the first place, it's not easy to fix for me.The text was updated successfully, but these errors were encountered: