-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Installation with homebrew fails (Mac) #2031
Comments
I really think the problem is because it is no longer supported. Have you tried if to see if it is possible to upgrade your macOs ? Otherwise, you can try using a version manager such as "asdf" or "pyenv" to handle different versions of dependencies |
@Di3go-Opr3a Thank you for your reply! Unfortunately, upgrading my os is not possible as my Macbook Pro does not support any newer versions of macOs... Yeah I was considering that but the problem is that I can't seem to find folly's changelog anywhere. So I can't check which version might work for me |
@marnixhoh look I tried to search a little, but precisely I can not tell you however I found this ! |
@Di3go-Opr3a Thank you sooo much for digging into this for me. I tried installing the version of It would be really nice if Thank you so much again!! Really appreciate it 😄 |
@marnixhoh @Di3go-Opr3a Hi! I apologize if this is sort of stupid question but I'm having the same issue as you and since I'm new to macOS I'm a little bit confused about what to do. How do I install an older release of folly? And when I try to install watchman with homebrew once more will it not try to update my installation of folly? Again, I apologize if these are trivial questions. I have struggled to understand what to Google and where to learn how to do this, so any guidance on where to learn more about this would also be greatly appreciated. Thanks for your time. |
Hi @sid-bhargav! Let me quickly try to help you out here ;) Installing older versions of software with To your next question, I just found that out myself, after I successfully installed an older version of I hope I have answered your questions here and if you do end up finding a way to install |
I have the same issue with upgrading folly on Catalina (it's a dependency of a package that I have previously installed).
But what's funny is that I can build the same version of folly (v2023.10.02.00) successfully from git with the same cmake flags as Homebrew uses and same clang version. Update: The actual error from my Homebrew build is below. It looks like
Clang version:
Update 2 It turns out that Homebrew uses MacOSX SDK 10.15 instead of 11.1 which comes with Xcode 12 and which is used by CMake by default. In 10.15 there is a bug in the definition of Workaround:
|
@sryze I have no idea how you have found that workaround, but thank you so much! 🚀 I think you meant this though (wrong version number):
Just to clarify for anyone else running into this issue, you would have to change following line:
to:
|
Ah, yes, I meant 10.15. Glad that it helped you 😃 |
@sryze, Thank you so much. 😄 🚀 |
i had also done this but it gives me still this: Last 15 lines from /Users/Paras/Library/Logs/Homebrew/folly/02.cmake: |
|
@marnixhoh Well, even if that works to bypass the problem at hand, hacking the SDK is not something desirable, and is likely to cause unknown number of breakages, since no software will expect that. |
Perhaps placing something like this in an appropriate
|
Adding this to
@sryze Thank you for finding the cause of the problem! |
I am trying to install
folly
on my Mac using homebrew:brew install folly
. I needfolly
as it is a dependency ofwatchman
.Unfortunately it fails and I receive the following error:
Thank you so much for any help or guidance! :)
PS My mac is running on
macOS 10.15
, which is officially no longer supported by homebrew. Nevertheless, I hope there is some sort of solution / workaround.The text was updated successfully, but these errors were encountered: