sbt compile for Win32 fails on protoc
See original GitHub issueSame issue as #1066 . Even with new protoc script that tries to download protoc executable, this still fails on Windows.
To get around issue, I renamed .protoc and protoc to temporarily disable and then copied in protoc.exe.
I get the same error as in issue #1066
[info] Compiling schema C:\Users\drakestraw\development\src\linkerd\grpc\interop\src\main\protobuf\empty.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\grpc\interop\src\main\protobuf\messages.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\grpc\interop\src\main\protobuf\test.proto [error] --io.buoyant.grpc_out: protoc-gen-io.buoyant.grpc: The system cannot find the file specified. [error] [error] [info] Compiling 2 protobuf files to C:\Users\drakestraw\development\src\linkerd\grpc\eg\target\scala-2.12\src_managed\m ain\compiled_protobuf [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\grpc\eg\src\main\protobuf\base.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\grpc\eg\src\main\protobuf\eg.proto [error] --io.buoyant.grpc_out: protoc-gen-io.buoyant.grpc: The system cannot find the file specified. [error] [error] [info] Compiling 1 protobuf files to C:\Users\drakestraw\development\src\linkerd\linkerd\core\target\scala-2.12\src_mana ged\main\compiled_protobuf [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\linkerd\core\src\main\protobuf\usage.proto [error] --io.buoyant.grpc_out: protoc-gen-io.buoyant.grpc: The system cannot find the file specified. [error] [error] [info] Compiling 5 protobuf files to C:\Users\drakestraw\development\src\linkerd\mesh\core\target\scala-2.12\src_managed \main\compiled_protobuf [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\mesh\core\src\main\protobuf\resolver.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\mesh\core\src\main\protobuf\codec.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\mesh\core\src\main\protobuf\delegator.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\mesh\core\src\main\protobuf\dtab.proto [info] Compiling schema C:\Users\drakestraw\development\src\linkerd\mesh\core\src\main\protobuf\interpreter.proto [error] --io.buoyant.grpc_out: protoc-gen-io.buoyant.grpc: The system cannot find the file specified. [error] [error] [info] Updating {file:/C:/Users/drakestraw/development/src/linkerd/}linkerd-examples...
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Ok, thanks. We’ve come up with a work-around to run linkerd on windows.
If you run the following, it works fine.
java -cp linkerd-1.1.0-exec io.buoyant.linkerd.Main config/linkerd.yaml
@rake36 that’s great! Sorry for the pain here, none of us are developing on Windows at the moment so this sort of friction occasionally happens. Glad we found a workaround.