You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake is planning to deprecated `FindProtobuf in favour of the cmake files provided by protobuf, because it is difficult to maintain compatibility with protobuf's cmake files, see [1] and [2] But that relies on distributions shipping these cmake files. Some distributions, like Debian or Fedora, don't ship the files, yet, because the distributions are using autoconf to build protobuf.
Please install CMake files when using autoconf+make install or remove autoconf files from release tarballs to force distributions to provide protobuf's CMake files.
What version of protobuf and what language are you using?
Version: v21.12
Language: C++/Java/Python/C#/Ruby/PHP/Objective-C/Javascript
What operating system (Linux, Windows, ...) and version?
Arch Linux
What runtime / compiler are you using (e.g., python version or gcc version)
We've removed autotools support as of #10132 and will no longer be shipping those configs. The only supported mechanism for system installation in 22.x and beyond will be cmake. Note, you can also use cmake to install protobuf in 21.x, in which case the cmake files should get set up properly.
Given that we plan to release 22.x in the next few weeks, I'm going to close this. Let me know if you have some more specific need for this in 21.x w/ autotools though.
CMake is planning to deprecated `FindProtobuf in favour of the cmake files provided by protobuf, because it is difficult to maintain compatibility with protobuf's cmake files, see [1] and [2] But that relies on distributions shipping these cmake files. Some distributions, like Debian or Fedora, don't ship the files, yet, because the distributions are using autoconf to build protobuf.
Please install CMake files when using autoconf+make install or remove autoconf files from release tarballs to force distributions to provide protobuf's CMake files.
What version of protobuf and what language are you using?
Version: v21.12
Language: C++/Java/Python/C#/Ruby/PHP/Objective-C/Javascript
What operating system (Linux, Windows, ...) and version?
Arch Linux
What runtime / compiler are you using (e.g., python version or gcc version)
What did you do?
Steps to reproduce the behavior:
./configure
make
make install
What did you expect to see
CMake files installed, like it is done when using CMake to build protobuf.
What did you see instead?
No cmake files installed.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
Anything else we should know about your project / environment
The text was updated successfully, but these errors were encountered: