~brocellous/wlrctl#14: 
Build dependencies xkbcommon already installed

Hello!

On Ubuntu 22.04, I installed dependencies

$ sudo apt install libxkbcommon-x11-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxkbcommon-x11-dev is already the newest version (1.4.0-1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

$ sudo apt install libxkbcommon-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libxkbcommon-dev is already the newest version (1.4.0-1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Then I tried to build it

$ meson setup --prefix=/usr/local build
The Meson build system
Version: 0.63.3
Source dir: /home/lamy/opt/Library/LibrarySrc/Wlrctl
Build dir: /home/lamy/opt/Library/LibrarySrc/Wlrctl/build
Build type: native build
Project name: wlrctl
Project version: 0.2.1
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Checking for function "memfd_create" : YES
Found pkg-config: /home/linuxbrew/.linuxbrew/bin/pkg-config (0.29.2)
Found CMake: /home/linuxbrew/.linuxbrew/bin/cmake (3.24.2)
Run-time dependency xkbcommon found: NO (tried pkgconfig and cmake)

meson.build:29:0: ERROR: Dependency "xkbcommon" not found, tried pkgconfig and cmake

A full log can be found at /home/lamy/opt/Library/LibrarySrc/Wlrctl/build/meson-logs/meson-log.txt

Can you please suggest what should I do? I am a beginner user.

-- Thanks and Kind Regards Lamy

Status
RESOLVED NOT_OUR_BUG
Submitter
Lamyer Geier
Assigned to
No-one
Submitted
2 years ago
Updated
2 years ago
Labels
No labels applied.

~brocellous REPORTED NOT_OUR_BUG 2 years ago

You don't appear to be using your distribution provided pkg-config. It seems like this uses a different pcfile prefix: https://github.com/Homebrew/linuxbrew-core/issues/2306.

Register here or Log in to comment, or comment via email.