qitab / cl-protobufs

Common Lisp protocol buffer implementation.
MIT License
84 stars 18 forks source link

Update install guide to note issue #402 #404

Open bkuehnert opened 1 year ago

bkuehnert commented 1 year ago

The cl-protobufs protoc plugin is not compatible with protoc versions v22+. This is because protoc now depends on abseil and removed implementations of utility functions that cl-protobufs relied on.

This update to the README does two things

  1. Notes this problem, and updates the install steps to specify version 21.x.
  2. Offers installation of protoc via package manager as an option, since it turns out that this works just fine.
mdbergmann commented 1 year ago

Just a comment: building cl-protobufs from 'brew install protobuf@21' on macOS works fine. On Apple Silicon macOS the install path is PROTOC_ROOT=/opt/homebrew/Cellar/protobuf@21/21.12.