zl程序教程

您现在的位置是:首页 >  其它

当前栏目

apollo install ERROR: An error occurred during the fetch of repository ‘zlib‘:

Error The of an install fetch during Repository
2023-09-14 09:09:26 时间

I have the same problem, then edit two files:
apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/io_bazel_rules_go/go/private/repositories.bzl
line 95 - 101
http_archive( name = “net_zlib”, build_file = “@com_google_protobuf//:third_party/zlib.BUILD”, sha256 = “91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9”, strip_prefix = “zlib-1.2.12”, urls = [“https://zlib.net/zlib-1.2.12.tar.gz”], )

apollo/.cache/bazel/540135163923dd7d5820f3ee4b306b32/external/rules_proto/proto/private/dependencies.bzl
line 31-38
“zlib”: { “sha256”: “91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9”, “build_file”: “@com_google_protobuf//:third_party/zlib.BUILD”, “strip_prefix”: “zlib-1.2.12”, “urls”: [ “https://zlib.net/zlib-1.2.12.tar.gz”, ], },

then build again