-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Can't be built on macOS #16
Comments
It looks like this is related to libstdc++ being handled in an unusual way on OSX. The fix comes from this post: https://stackoverflow.com/questions/52460913/compiling-cython-with-xcode-10 However, I'm not sure this will work since it looks like the OSX version in the issue is 10.7. Worth a shot though.
Thanks for the bug report. I had a bit of trouble understanding what's going on here because the actual error doesn't seem to be in the output above; the only detail is this:
It looks like libstdc++ is a little weird on OSX, and at some point was deprecated in favor of libc++? I have attempted a fix that sets compiler flags to use the other library based on this StackOverflow post. I'm not sure it'll work since it seems to refer to a newer version of OSX than you're using - it looks like you have 10.7, but this is for 10.9+. However, it seems like libstdc++ should be normally usable before 10.9 so I'm still not entirely sure what's going on... I have pushed an attempted fix to the |
Thank you for your quick reply.
For the record, my macOS version is 10.15.4. I tried the
The error message says
|
The test also passed.
|
Great, thank you! I'll merge that, clean it up a bit (the code should probably be in
Huh, OK. I assumed it was 10.7 based on the following line:
But I guess that's a version number for something else. |
Released a new version where this should be fixed, let me know if you continue to have issues. |
Thank you. Now I'm able to build it without an error.
This was actually puzzling me too, but now I have a better view of what was happening.
I was in a conda environment when I was building fugashi==0.1.10, which may have targeted macOS 10.7. |
Ah, that makes sense about Anaconda - thanks for the explanation! |
Fugashi cannot be built hence cannot be installed on macOS.
I installed Mecab using Homebrew
The text was updated successfully, but these errors were encountered: