jonhoo / buzz

A simple system tray application for notifying about unseen e-mail
Apache License 2.0
138 stars 12 forks source link

Cargo install failed on Ubuntu 17.10 #4

Closed shuwens closed 6 years ago

shuwens commented 6 years ago

cargo install buzz failed on Ubuntu 17.10. It looks like some dependency issues. Any idea to help?

[23:31] jethros@x1c ~ $ cargo install buzz
    Updating registry `https://github.com/rust-lang/crates.io-index`
  Installing buzz v1.0.6
 Downloading base64 v0.9.1
 Downloading serde v1.0.43
 Downloading pkg-config v0.3.11
 Downloading atty v0.2.9
error: failed to compile `buzz v1.0.6`, intermediate artifacts can be found at `/tmp/cargo-install.DZbyvjWJqzdW`

Caused by:
  multiple packages link to native library `gtk`, but a native library can be linked only once

package `gtk-sys v0.3.4`
    ... which is depended on by `libappindicator v0.2.0`
    ... which is depended on by `systray v0.2.0`
    ... which is depended on by `buzz v1.0.6`
links to native library `gtk`

package `gtk-sys v0.4.0`
    ... which is depended on by `libappindicator-sys v0.1.2`
jonhoo commented 6 years ago

See https://github.com/qdot/systray-rs/issues/26

jonhoo commented 6 years ago

Publishing as 1.0.7 as we speak!