Polochon-street / blissify-rs

bliss bindings for MPD.
29 stars 6 forks source link

Unable to install on Apple silicon Mac #67

Closed michael-ball closed 2 months ago

michael-ball commented 2 months ago

I've tried to install blissify on an Apple silicon Mac with cargo install blissify but I get the following error:

error: failed to run custom build command for `bliss-audio-aubio-sys v0.2.2`

Caused by:
  process didn't exit successfully: `/var/folders/pb/g43q604n6v71kwp_89ccy6840000gn/T/cargo-installoyKiUv/release/build/bliss-audio-aubio-sys-fb4d0ec74b3698ed/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /<redacted>/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bliss-audio-aubio-sys-0.2.2/build.rs:34:13:
  No prebuilt bindings. Try use `bindgen` feature.
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `blissify v0.4.1`, intermediate artifacts can be found at `/var/folders/pb/g43q604n6v71kwp_89ccy6840000gn/T/cargo-installoyKiUv`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

The default host displayed by rustup show is "aarch64-apple-darwin"

Polochon-street commented 2 months ago

Hi!

Does it work if you do cargo install blissify --features=default,bliss-audio/update-aubio-bindings?

michael-ball commented 2 months ago

Ah yes, that works. Thanks very much for the advice!

By the way, thank you for the work you did on making --seed-song return quicker. I use that feature a lot.

Polochon-street commented 1 month ago

No worries, glad that you like it :) I'll add a little something on the README so next time people know where to look. Thanks for reporting!