question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sbt compile for Win32 fails on protoc

See original GitHub issue

Same 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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
rake36commented, Jun 21, 2017

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

0reactions
wmorgancommented, Jun 21, 2017

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compilation error in compiling Protobufs in Java using SBT ...
I am using the Play framework (which uses SBT build tool) with Java where I need to consume a Protobuf. So I have...
Read more >
ScalaPB/community - Gitter
Hello, I try to generate proto code with sbt plugin but get the following error : [info] Compiling protobuf [info] Protoc target directory: ......
Read more >
IOException when running sbt - Google Groups
Hello, I am getting an IOException when running `sbt compile` the error suggests a executable can not be found. I've created a sample...
Read more >
sbt • Akka gRPC - Documentation
This will automatically download the right protoc for your system during the build. If protoc-jar fails to download protoc for your system, for...
Read more >
Frequently Asked Questions - ScalaPB
This will tell sbt-protoc to extract the protos from that jar into target/scala-2.vv/protobuf_external_src and add them both to the import search path and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found