-
Notifications
You must be signed in to change notification settings - Fork 216
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 while building the raft library in dqlite. #373
Comments
Sounds like your system built with lz4 enabled but missing the headers? |
@stgraber I should think so. Let me dig into my header files and get back to you. |
@stgraber i realized I do not have such a header file. But, it looks like a macro has been defined somewhere that is enabling build with |
adding |
@MathieuBordere this is what happens after using
Sorry if this is a noob question but how do I get the |
If on Ubuntu or Debian, |
@MathieuBordere |
hmm --disable-lz4 only doesn't define LZ4_ENABLED , LZ4_AVAILABLE will still be defined so the issue remains with the missing header. Indeed, installing liblz4-dev should get rid of the issue. I'll see if I can change configure.ac to handle this case, |
@stgraber I am on Unix. I think I have seen something close to |
Mac is not supported at the moment, there have been efforts to support it, but they have not been finished. |
Bummer. Thanks. |
So by following the project's
README
, i tried to build the raft library so I could build dqlite.Steps I took:
README
:make
, I get afatal error: 'lz4frame.h' file not found
. I digged into the codebase and found this block incompress.c
I am assuming
LZ4_AVAILABLE
exists butlz4frame.h
does not. How do I resolve this issue?The text was updated successfully, but these errors were encountered: