Wayland-client.h: No such file or directory (with workaround)

Today I was trying to build Jetbrains flavor of the JRE which is what runs their IDEs (it’s called JBR), and faced this issue:

wayland-client.h: No such file or directory

It took me a while to figure out, so I’m posting the solution here, maybe it’ll help someone.

First of all, of course you need to install the wayland-devel package (sudo zypper in wayland-devel).

But then since header files are installed under /usr/include/wayland whereas the configure script expects them under /usr/include, you also have to symlink them there:

cd /usr/include
sudo ln -s wayland/* .

That’s it

Hope this helped someone

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.