Problems building on Ubuntu 22
Hi there, Apologies if this is not the right place to ask but I couldn't find any better place.
I am trying to build on Ubuntu 22 and went through a number of iterations of meson build
and installing missing dependencies.
Right now I am stuck with the following message:
The Meson build system
Version: 0.61.2
Source dir: /home/mano/gnome-network-displays
Build dir: /home/mano/gnome-network-displays/build
Build type: native build
Project name: gnome-network-displays
Project version: 0.90.5
C compiler for the host machine: cc (gcc 11.2.0 "cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring gnome-network-displays-config.h using configuration
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: NO
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gstreamer-video-1.0 found: YES 1.20.1
Run-time dependency gstreamer-rtsp-1.0 found: YES 1.20.1
Run-time dependency gstreamer-rtsp-server-1.0 found: YES 1.20.1
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency avahi-client found: NO (tried pkgconfig and cmake)
src/meson.build:33:0: ERROR: Dependency "avahi-client" not found, tried pkgconfig and cmake
I've installed avahi-client via snap as documented but meson does not believe me.
I would suspect this is more of an avah-client problem to tell pkg-config/cmake that it is installed but that is just a guess.
If there are docs about how to build/install on Ubuntu that I haven't found yet I'd appreciate a pointer.
Many thanks, Martin