DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
111 stars 10 forks source link

Failed to build on Fedora 39 #225

Closed khalangy closed 1 month ago

khalangy commented 5 months ago

Hello,

I try to build the package on Fedora 39 but have this error that I don't understand.

Someone can help me please ?

error: failed to run custom build command for `defguard-client v0.2.2 (/home/user/github/client/src-tauri)`

Caused by:
  process didn't exit successfully: `/home/user/github/client/src-tauri/target/debug/build/defguard-client-4514b1ec7cb4536e/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=proto/client/client.proto
  cargo:rerun-if-changed=proto/core/proxy.proto
  cargo:rerun-if-changed=proto/client
  cargo:rerun-if-changed=proto/core

  --- stderr
  Error: Custom { kind: Other, error: "protoc failed: google/protobuf/empty.proto: File not found.\nclient.proto:4:1: Import \"google/protobuf/empty.proto\" was not found or had errors.\nclient.proto:52:57: \"google.protobuf.Empty\" is not defined.\nclient.proto:53:57: \"google.protobuf.Empty\" is not defined.\n" }

Thanks

j-chmielewski commented 5 months ago

Hey,

  1. Did you run the tauri-build command as described in the README?

    pnpm tauri build
  2. Looks like protobuf well-known-types are missing in your system. Make sure they are installed with the protoc compiler. Unfortunately I'm not sure how to do this in Fedora.