Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yield nice errors in pkg-config isn't available #56

Open
lovesegfault opened this issue Feb 2, 2018 · 0 comments
Open

Yield nice errors in pkg-config isn't available #56

lovesegfault opened this issue Feb 2, 2018 · 0 comments

Comments

@lovesegfault
Copy link

If you try to use this in a system where pkg-config is not installed (e.g. a fresh Ubuntu install) you get a rather cryptic panic

error: failed to run custom build command for `musync v0.1.0 (file:///home/bemeurer/src/musync)`
process didn't exit successfully: `/home/bemeurer/src/musync/target/release/build/musync-9f053b254a4fda51/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Failed to detect libmad: Command { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"mad\"", cause: Error { repr: Os { code: 2, message: "No such file or directory" } } }', /checkout/src/libcore/result.rs:906:4

Shouldn't this give a more readable message simply saying pkg-config isn't installed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant