Error running cargo build
On OSX and similar error on Win 10
Build failed, waiting for other jobs to finish...
error: failed to run custom build command for protobuf_build v0.1.1 (https://github.com/plietar/rust-protobuf-build.git#24d5a01c)
process didn't exit successfully: /Users/garycaldwell/Downloads/spotify-http/spotifyd-http/target/debug/build/protobuf_build-e2686571b24530af/build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: "Failed to run \"pkg-config\" \"--libs\" \"--cflags\" \"protobuf\": No such file or directory (os error 2)"', ../src/libcore/result.rs:837
note: Run with RUST_BACKTRACE=1 for a backtrace.
So the build fails in protobuf_build [1], which gets pulled in as a dependency, probably from librespot.
Are you able to build upstream librespot, https://github.com/plietar/librespot?
No, portaudio fails for that one :-)
Okay. It seems like you don't have pkg-config installed. Try installing pkg-config and protobuf with homebrew:
brew install pkg-config protobuf
And then try again.
brew install pkg-config protobuf is a must on MacOS.
I was only able to compile spotifyd-http version 0.1.0 using Rust 1.6.0.
Notw for rust beginners like me: rustup install 1.6.0 && rustup default 1.6.0 should do the trick