qzed / pbpctrl

Control Google Pixel Buds Pro from the Linux command line.
Apache License 2.0
58 stars 2 forks source link

Installation issue on Fedora #3

Closed Philipp-Codes closed 1 year ago

Philipp-Codes commented 1 year ago

I tried to install pbpctrl on Fedora Linux using cargo but it failed.

error: failed to run custom build command for maestro v0.1.1

Complete Output ``` Caused by: process didn't exit successfully: `/tmp/cargo-installtFVNri/release/build/maestro-003457e9a4943146/build-script-build` (exit status: 1) --- stderr Error: Custom { kind: Other, error: "protoc failed: google/protobuf/empty.proto: File not found.\nmaestro_pw.proto:5:1: Import \"google/protobuf/empty.proto\" was not found or had errors .\nmaestro_pw.proto:211:25: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:212:25: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:213:30: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:214:45: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:215:48: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:217:36: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:218:32: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:233:36: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:234:66: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:257:51: \"google.protobuf.Empty\" is not defined .\nmaestro_pw.proto:258:49: \"google.protobuf.Empty\" is not defined.\n" } ```

Is there a way I can fix this? Any help is appreciated.

qzed commented 1 year ago

You might be missing the protobuf-devel package which should provide that .proto file.

Philipp-Codes commented 1 year ago

Thank you! That was the cause of the problem. I previously installed rust-protoc-devel and protobuf instead of protobuf-devel.