Hi, I am actually trying to get blue-recorder to work on Ubuntu 21.04 (Wayland) but the version via Snap doesnt work (black video, sound works). Thus, I am compiling blue-recorder on Ubuntu 21.04 and I get an error during compilation: failed to run custom build command for 'glib-sys v0.10.1'. I imagine that I missed a dependency?
I run Ubuntu 21.04 and made sure beforehand that I got the dependencies installed as stated in the README:
A quick rustc --version yield rustc 1.52.1 (9bc8c42bb 2021-05-09)
Here is the output from cargo:
Compiling cairo-sys-rs v0.10.0
Compiling gdk-pixbuf-sys v0.10.0
Compiling atk-sys v0.10.0
Compiling gdk-sys v0.10.0
Compiling gtk-sys v0.10.0
error: failed to run custom build command for `glib-sys v0.10.1`
Caused by:
process didn't exit successfully: `/home/johannes/git/blue-recorder/target/release/build/glib-sys-b15773258cce8e35/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=GLIB_2.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=GLIB_2.0_STATIC
cargo:rerun-if-env-changed=GLIB_2.0_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_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
--- stderr
`"pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.44"` did not exit successfully: exit code: 1
--- stderr
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
warning: build failed, waiting for other jobs to finish...
Hi, I am actually trying to get blue-recorder to work on Ubuntu 21.04 (Wayland) but the version via Snap doesnt work (black video, sound works). Thus, I am compiling blue-recorder on Ubuntu 21.04 and I get an error during compilation:
failed to run custom build command for 'glib-sys v0.10.1'
. I imagine that I missed a dependency?I run Ubuntu 21.04 and made sure beforehand that I got the dependencies installed as stated in the README:
sudo apt install build-essential clang cargo libappindicator3-1 x11-utils gettext pulseaudio ffmpeg
A quick
rustc --version
yieldrustc 1.52.1 (9bc8c42bb 2021-05-09)
Here is the output from cargo: