-
Notifications
You must be signed in to change notification settings - Fork 68
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
Fixing build and code to be able to compile with latest CPP Infinispan client on RHEL and Fedora #84
Conversation
…n client on RHEL and Fedora
@rigazilla if you have time to look this PR 😄 |
Hi @dmvolod I'm asking this because I would like to update the tutorial with the steps for a docker run, so the user can start from a clean install. and thanks @karesti for the heads-up :) |
Thanks for response, @rigazilla ! I've tried with Fedora 30 and self-build cpp-client from https://github.com/infinispan/cpp-client/ master branch as well as RHEL 7.7 (Maipo) with jdg-cpp-client.x86_64 from Red Hat repository. I also find some issues building cpp-client on Fedora, as it package some protobuf libraries inside rpm, call it ..RHEL..rpm and conflicts with installed protobuf-c-compiler package. I could separate RHEL and Fedora or any other Linux install with cmake file and fix it if community will accept this changes. |
Perfect, if it's ok for you I'll add a commit on top of your PR with the docker steps for centos 7 (rpms are for that release, IIRC)
This issue is more complex: the project CMakeLists.txt has a long history and really needs a clean up. Unfortunately I haven't much time now for this and I can't merge anything there in a short time unless it is a very simple PR. But please, if you already have developed something interesting please leave it in a PR, I'll have a look when possible. Specific to protobuf lib: it's definitely uncommon to have it packaged in the client rpm and it should be removed. I can't remember why we had to do that... if that fix something, we should find a different solution |
I can try to start clearing CMakeLists.txt to get it better and align it with project build. Also can try to add support for different linux versions and try to build with several os versions (both linux and windows).
I will check with depended rpm's or check another linking options for both RHEL and Fedora. |
@dmvolod I've added some notes as starting point on what I think we need to do on the build process here: infinispan/cpp-client#358 |
c76afb6
to
d9c3420
Compare
d9c3420
to
deefeab
Compare
merged thanks @dmvolod ! |
Now build is working fine on both platforms