Failed to build on Fedora 39
khalangy opened this issue · 1 comments
khalangy commented
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
Hey,
- Did you run the tauri-build command as described in the README?
pnpm tauri build
- 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.