Hi

I'm following the instructions here:
https://github.com/protocolbuffers/protobuf/blob/main/src/README.md
<https://github.com/protocolbuffers/protobuf/blob/main/src/README.md#c-protobuf---unix>C++
 
Protobuf - Unix
but 
bazel build :protoc :protobuf
fails with
ERROR: 
/home/petero/.cache/bazel/_bazel_petero/e0b491b5a6cf2e87b8bec4b629d0d1c0/external/rules_pkg/pkg/private/pkg_files.bzl:407:12:
 
name 'json' is not defined

DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"

sudo apt install bazel-bootstrap
(which installed a tonne of java stuff!)

git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
git submodule update --init --recursive
bazel build :protoc :protobuf

Thank you
-- Peter

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/553d7805-4da7-41fc-932f-0cf377191e17n%40googlegroups.com.

Reply via email to