wf-shell icon indicating copy to clipboard operation
wf-shell copied to clipboard

Dependency "wayfire" not found, but it's installed

Open K0-RR opened this issue 1 year ago • 4 comments

@core ➜ wf-shell git:(master) meson build --prefix=/usr --buildtype=release
The Meson build system
Version: 1.5.1
Source dir: /home/k0rr/wf-shell
Build dir: /home/k0rr/wf-shell/build
Build type: native build
Project name: wf-shell
Project version: 0.10.0
C compiler for the host machine: cc (gcc 14.2.0 "cc (Ubuntu 14.2.0-7ubuntu1) 14.2.0")
C linker for the host machine: cc ld.bfd 2.43.1
C++ compiler for the host machine: c++ (gcc 14.2.0 "c++ (Ubuntu 14.2.0-7ubuntu1) 14.2.0")
C++ linker for the host machine: c++ ld.bfd 2.43.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Found CMake: /usr/bin/cmake (3.30.3)
Run-time dependency wayfire found: NO (tried pkgconfig and cmake)

meson.build:16:17: ERROR: Dependency "wayfire" not found, tried pkgconfig and cmake

A full log can be found at /home/k0rr/wf-shell/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
@core ➜ wf-shell git:(master) sudo apt install wayfire
wayfire is already the newest version (0.9.0-2build2).

K0-RR avatar Nov 23 '24 10:11 K0-RR

You need to install the packages providing wayfire.pc, probably wayfire-dev.

soreau avatar Nov 23 '24 14:11 soreau

No. That not help.

colesnicov avatar Jan 11 '25 11:01 colesnicov

Check the output of pkg-config --modversion wayfire. It should tell you if any dependent packages are not found.

soreau avatar Jan 11 '25 11:01 soreau

find /usr -name "wayfire.pc" and add this value to $PKG_CONFIG_PATH export PKG_CONFIG_PATH=wayfire_pc_path:$PKG_CONFIG_PATH

or install via wf-install: https://github.com/WayfireWM/wf-install

mrfoggg avatar Jun 02 '25 12:06 mrfoggg