Created
July 3, 2024 09:25
-
-
Save andreaippo/aaeec39346361ff9995c991238e8dd32 to your computer and use it in GitHub Desktop.
Wayland-client.h: No such file or directory (with workaround)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, you need to install the wayland dev package for your distro (i.e. the one containing the header files). | |
On opensuse tumbleweed (the distro I use), it's called `wayland-devel` and installed via `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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment