error: failed to run custom build command for `libappindicator-sys v0.5.0 (/home/stephen/Documents/libappindicator-sys)`
Caused by:
process didn't exit successfully: `/home/stephen/Documents/libappindicator-sys/target/debug/build/libappindicator-sys-27ebdcf284c18b94/build-script-build` (exit status: 101)
--- stdout
cargo:rustc-link-lib=appindicator3
cargo:rerun-if-env-changed=APPINDICATOR3_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=APPINDICATOR3_STATIC
cargo:rerun-if-env-changed=APPINDICATOR3_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i686-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i686_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i686-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i686_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i686-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i686_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=APPINDICATOR3_1_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=APPINDICATOR3_1_STATIC
cargo:rerun-if-env-changed=APPINDICATOR3_1_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i686-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_i686_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i686-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_i686_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i686-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i686_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
thread 'main' panicked at 'libappindicator3 library not found!', build.rs:35:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
stephen@AO751h:~/Documents/libappindicator-sys$ apt search libappindicator3
p libappindicator3-0.1-cil - CLI binding for appindicator3 using GObject introspection
p libappindicator3-0.1-cil-dev - CLI binding for libappindicator3 using GObject introspectioni libappindicator3-1 - Application Indicators
i libappindicator3-dev - Application Indicators
stephen@AO751h:~/Documents/libappindicator-sys$ pkg-config --libs appindicator3-0.1
Package xapp was not found in the pkg-config search path.
Perhaps you should add the directory containing `xapp.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xapp', required by 'appindicator3-0.1', not found
stephen@AO751h:~/Documents/libappindicator-sys$ sudo apt instal libxapp-dev
...
stephen@AO751h:~/Documents/libappindicator-sys$ pkg-config --libs appindicator3-0.1
-lappindicator3 -ldbusmenu-glib -lxapp -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
Still fails with the same error. Updating the packages as listed in the pull requests, brings up a libclang error.
I tried installing libclang, setting the export LLVM_CONFIG_PATH=/usr/bin/llvm-config-6.0 and the export LIBCLANG_PATH=/usr/lib/llvm-6.0/lib/libclang.so.1
none of it worked. I tried restarting and it still didn't work. Then I went back to my project that uses this one, and it worked?
stephen@AO751h:~/Documents/usbshare/Rust$ cargo build
Compiling usbshare v0.1.1 (/home/stephen/Documents/usbshare/Rust)
Compiling libappindicator-sys v0.5.0
Compiling libappindicator v0.5.2
Compiling tray-item v0.5.0-alpha
Finished dev [unoptimized + debuginfo] target(s) in 3m 23s
I'm not sure which part fixed it for that project. I'm guessing maybe the restart? or the clang install. I geuss I will just leave this note here.
Still fails with the same error. Updating the packages as listed in the pull requests, brings up a
libclangerror.I tried installing libclang, setting the
export LLVM_CONFIG_PATH=/usr/bin/llvm-config-6.0and theexport LIBCLANG_PATH=/usr/lib/llvm-6.0/lib/libclang.so.1none of it worked. I tried restarting and it still didn't work. Then I went back to my project that uses this one, and it worked?
I'm not sure which part fixed it for that project. I'm guessing maybe the restart? or the clang install. I geuss I will just leave this note here.