I’m getting an error when building spotifyd. I’ve tried manually building it and also using cargo install spotifyd --locked
but to no avail. I’ve downloaded the binary but I am unsure on how to use it… any help is greatly appreciated
error: failed to run custom build command for `alsa-sys v0.1.2`
Caused by:
process didn't exit successfully: `/tmp/cargo-installtlhkH8/release/build/alsa-sys-ce8b1689098727b5/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"alsa\"` did not exit successfully: exit code: 1\n--- stderr\nPackage alsa was not found in the pkg-config search path.\nPerhaps you should add the directory containing `alsa.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'alsa\', required by \'virtual:world\', not found\n"', /home/zeno/.cargo/registry/src/github.com-1ecc6299db9ec823/alsa-sys-0.1.2/build.rs:4:38
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 `spotifyd v0.2.24`, intermediate artifacts can be found at `/tmp/cargo-installtlhkH8`
Caused by:
build failed