Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
883 stars 159 forks source link

Can't build with wayland driver on Ubuntu 22.04 #1124

Closed rankynbass closed 2 months ago

rankynbass commented 8 months ago

Setting _wayland_driver="true" (or adding --with-wayland to _configure_userargs64) doesn't work when building on Ubuntu 22.04. It works fine in Fedora and Arch (I've successfully built and used wine wayland in both).

Fails with the following error message:

configure: error: Wayland 64-bit development files not found, the Wayland driver won't be supported.
This is an error since --with-wayland was requested.

libwayland-dev is installed. If there's some other package that needs to be installed, I can't figure what it is.

Building wine-9.0 mainline or later, for reference.

lixiaolong2007 commented 8 months ago

Although I am using Redhat, I also encountered the same problem by installing wayland-devel and libwayland - *, but it still shows missing files

lixiaolong2007 commented 8 months ago

但事实上它应该是识别到了wayland-devel 2024-02-04 08-36-15 的屏幕截图

loopyd commented 6 months ago

Tested on a refresh ubuntu:jammy image in a docker container, and reporting back that the same thing occurs, even though libwayland-* is installed and seems to be found during configure

yu-zify commented 2 months ago

Check configure, you need to install xkbcommon and xkbregistry, etc.

rankynbass commented 2 months ago

Turned out to be a missing libxkbregistry package. Not sure if it was the libxkbregistry0 or libxkbregistry-dev, so I just installed them both, and it built first try.