Open lokapal opened 3 weeks ago
Can it be fixed?
Likely yes. What likely happens is that ubuntu 22.04 is too new to compile grpc 1.34.0 and I haven't updated the project to work with newer grpc versions yet because I switched most of my stuff over to traefik. I'll take a look and push a fix once I updated it.
Hi, I pushed a commit that fixes the compilation for ubuntu 22.04 (I tested using the ubuntu:22.04 docker container) on the branch upgrade-deps. Let me know if it fixes your issue. I haven't had time to verify it still works correctly yet though (outside of not crashing apache2 on startup).
At the very end of cmake:
Are you sure, that bleeding edge libraries (that are not releases) are Ok?
At the very end of cmake:
Did you make sure to remove and reconfigure the build folder ? The error you have there is the same I got when I still had disabled the grpc install targets, which are now enabled/default.
Are you sure, that bleeding edge libraries (that are not releases) are Ok?
It is using grpc version 1.64.2, which while being very recent is a stable release. You should be able to drop it to an older version like 1.5x or something like that, but I wouldn't recommend it in order to get the latest bugfixes/improvements done to upstream grpc. If you refer to the submodules, those are imported by grpc itself and are usually pinned to a specific release commit thats compatible with the grpc version being used.
You should alternatively be able to build the code against the grpc builds provided by ubuntu/apt if you remove the fetchcontent parts and replace them with a find_package. I am unsure why I opted to build grpc from source back then, probably just force of habit and to allow for (mostly) static builds, as the apt packages only include shared objects.
The problem is that it can't be compiled under Ubuntu 22.04.3 x64 / g++-11 If I try to compile according to your instructions (GRPC 1.34.0) - it fails inside abseil_cpp. It I try to compile with GRPC 1.47.5 or 1.46.4 - it fails at the very end of compilation with the message:
If I try to compile with newer GRPC libraries, it simply fails to perform cmake. Can it be fixed?