-
Notifications
You must be signed in to change notification settings - Fork 959
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
macOS build fixes and instructions #17
Conversation
Nice! How large is your output folder? Maybe we can make a Homebrew package? (They handle pushing to Bintray too.) |
@Manouchehri 3.9 GB :S |
Most likely this is due to the yara_patterns in share. Mine is ~3.7 GB.
|
Thanks for working on this. I had a cursory look but didn't go further than that. There seemed to be a bunch of In your PR, looks like |
@petmac there's only one file checking for compiler, and it should not confuse AppleClang and Clang there :) |
@petmac Wow, thanks, I've cleared README.md somehow :\ |
@stek29 I've tried to compile your branch on a 10.13.2 system. It complains about a missing library (which is not available on osx afaik). Maybe some makefiles with a missing switch?
|
|
@sarnau Are you sure you have fileformat and llvm with my patches merged? Just making MATCHES is not a good idea. If it prints "Supported: GCC, Clang", then it thinks it's Linux, and that's not correct. So better it says "Unsupported compiler" than silently fails with lots of issues about trying to use linux kernel crypto features on macOS. |
Just out of curiousity - how did you avoid that the original Apple |
@newkit README is made for reading it. |
Oh really? ;-) I know it is mentioned there and I had installed it through homebrew. And changed the |
@newkit Did you also change two other variables? Did you put homebrew's flex/bison in the beginning of PATH? |
Fixes #7
See avast/llvm#1 and avast-tl/fileformat#2