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

Fail to build on Ubuntu 17.10 #5

Closed
shuwens opened this issue Jun 25, 2018 · 2 comments
Closed

Fail to build on Ubuntu 17.10 #5

shuwens opened this issue Jun 25, 2018 · 2 comments

Comments

@shuwens
Copy link

shuwens commented Jun 25, 2018

I ran cargo install buzz but it failed to build on Ubuntu 17.10.

   Compiling aster v0.38.0
   Compiling syntex v0.54.0
   Compiling quasi v0.29.0
   Compiling libloading v0.3.4
   Compiling quasi_codegen v0.29.0
   Compiling bindgen v0.22.1
   Compiling libappindicator-sys v0.3.0
error: failed to run custom build command for `libappindicator-sys v0.3.0`
process didn't exit successfully: `/tmp/cargo-installZDpxQj/release/build/libappindicator-sys-237c515d683c452d/build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=appindicator3

--- stderr
thread 'main' panicked at 'libappindicator3 library not found!', /home/jethros/.cargo/registry/src/github.com-1ecc6299db9ec823/libappindicator-sys-0.3.0/build.rs:37:27
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: failed to compile `buzz v1.1.0`, intermediate artifacts can be found at `/tmp/cargo-installZDpxQj`

Caused by:
  build failed
[12:15] jethros@x1c ~ $ cargo install libappindicator-sys
    Updating registry `https://github.com/rust-lang/crates.io-index`
  Installing libappindicator-sys v0.3.0
error: specified package has no binaries
@jonhoo
Copy link
Owner

jonhoo commented Jun 25, 2018

It looks like you don't have the libappindicator3 Ubuntu package installed?

@shuwens
Copy link
Author

shuwens commented Jun 25, 2018

@jonhoo you are right, I need to sudo apt install libappindicator3-dev. Now it builds successfully!

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

No branches or pull requests

2 participants