-
-
Notifications
You must be signed in to change notification settings - Fork 205
[HELP] Insufficient instructions for installing Libadwaita #1884
Copy link
Copy link
Closed
Description
First of all, it’s not even mentioned here that you need to add PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig to .bashrc (at least on Ubuntu). Installing libadwaita-1-dev doesn’t do it itself for some unfathomable reason.
Second, it doesn’t even help, the same error still happens:
error: failed to run custom build command for `libadwaita-sys v0.7.0`
Caused by:
process didn't exit successfully: `/<...>/target/debug/build/libadwaita-sys-53426ef3de26df35/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-changed=/home/natewind/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libadwaita-sys-0.7.0/Cargo.toml
cargo:rerun-if-env-changed=LIBADWAITA_1_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_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_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_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_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=
pkg-config exited with status code 1
> PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libadwaita-1 libadwaita-1 >= 1.5
The system library `libadwaita-1` required by crate `libadwaita-sys` was not found.
The file `libadwaita-1.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
PKG_CONFIG_PATH contains the following:
- /usr/lib/x86_64-linux-gnu/pkgconfig
HINT: you may need to install a package such as libadwaita-1, libadwaita-1-dev or libadwaita-1-devel.
Even though the file is there:
~$ ls $PKG_CONFIG_PATH | grep libadwaita-1.pc
libadwaita-1.pcReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels