Trying to compile wev, but dependencies under OpenMandriva Lx is uncertain

Hello,

Requirements:

I have Searched the forum for my issue and found nothing related or helpful
I have checked the Resources category (Resources Index)
I have reviewed the Wiki for relevant information
I have read the the Release Notes and Errata

OpenMandriva Lx version:

OpenMandriva Lx release 25.90 (Nickel) Cooker for x86_64

Desktop environment (KDE, LXQT…):
Hyprland

Description of the issue (screenshots if relevant):
I’m trying to compile wev, which is a tool for debugging events on a Wayland window, analagous to the X11 tool xev (which unlike wev was allowed into the OMLx repos). The reason for this is that I’m trying to map some mouse buttons on my mouse to do different things than what they do by default. In order to do this (as far as I know), I need to know what name the buttons are in a Wayland compositor environment are according to Wayland, which is what Hyprland uses as a Wayland compositor.

I tried to plug in error codes as I attempted to find dependencies (the link for wev I attached earlier lists “libwayland-client” and “libxkbcommon” as dependencies).

Relevant information (hardware involved, software version, logs or output…):

[root@sigma wev]# dnf install libwayland-client libxkbcommon wayland-protocols-devel hyprwayland-scanner-devel hyprwayland-scanner
Updating and loading repositories:
Repositories loaded.
Package "libwayland-client-1.24.0-2.x86_64" is already installed.
Package "libxkbcommon-1.12.3-1.x86_64" is already installed.
Package "wayland-protocols-devel-1.45-1.noarch" is already installed.
Package "hyprwayland-scanner-devel-0.4.5-1.x86_64" is already installed.
Package "hyprwayland-scanner-0.4.5-1.x86_64" is already installed.
[root@sigma wev]# make install
client-header \
	//usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h
make: client-header: No such file or directory
make: *** [Makefile:9: xdg-shell-protocol.h] Error 127

Just compiled and installed. Do you have….

Edited - asked if you had wayland-scanner installed, I see it above. I’ll take another look.

1 Like

[removed due to irrelevance discovered after the fact]

If it helps at all, I also noticed a couple of extra dependencies listed on Arch’s page on wev.

Dependencies

The OpenMandriva Lx equivalents are:

* Not able to find direct equivalent, but I’m assuming that a working Hyprland install would signify that I have it installed as a dependency
*2 As far as I know/understand

I should have mentioned this isn’t OM. I’m running my custom LFS build right now so it’s not a distro packaging test, just that it does in fact compile (because ya never know…)

Interestingly my system does not have that referenced header file either, however.

1 Like

Our libs start with lib64 unless you are building 32 bit software. dnf search will save you a lot of headache when it comes to finding dependencies.

You also don’t need to be root in order to compile. You only need that if you are installing.

2 Likes