nik012003 / ripdrag

Drag and Drop utilty written in Rust and GTK4
GNU General Public License v3.0
483 stars 17 forks source link

Missing Dependency: pango library for pango-sys build #2

Open cmdrtictak opened 1 year ago

cmdrtictak commented 1 year ago

Title says it all

--- stdout cargo:rerun-if-env-changed=PANGO_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" "--libs" "--cflags" "pango" "pango >= 1.46" did not exit successfully: exit status: 1 error: could not find system library 'pango' required by the 'pango-sys' crate

--- stderr Package pango was not found in the pkg-config search path. Perhaps you should add the directory containing pango.pc' to the PKG_CONFIG_PATH environment variable No package 'pango' found Package pango was not found in the pkg-config search path. Perhaps you should add the directory containingpango.pc' to the PKG_CONFIG_PATH environment variable No package 'pango' found

0323pin commented 1 year ago

Looks like you need to link these at compile time. What OS?

cmdrtictak commented 1 year ago

Debian Linux

werdahias commented 4 months ago

You need to install libpango1.0-dev to resolve this