Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tips/instructions to building on opensuse tumbleweed #496

Open
andreaippo opened this issue Jan 17, 2025 · 0 comments
Open

Tips/instructions to building on opensuse tumbleweed #496

andreaippo opened this issue Jan 17, 2025 · 0 comments

Comments

@andreaippo
Copy link

andreaippo commented Jan 17, 2025

This is rather a tip than an issue, but I'm posting it here in the hope it gets indexed by search engines and helps people who faced my same problem fix it quickly.

With the current state of things on the main branch, most missing packages will be highlighted to you by running the ./configure.sh script.

However at some point you won't see a recommended package and the full command to install it, the error will just say something like:

Could not find required tool for WAYLAND_SCANNER

I'll save you the trouble, the package to install here (again, on opensuse tumbleweed/and maybe slowroll and leap, too) is wayland-devel:

sudo zypper in wayland-devel

This is not enough, though. Header files will be placed in a location the build script doesn't like, i.e. /usr/include/wayland. Instead, they are expected one level above, i.e. /usr/include.

The simplest way to fix this is via symlinks (this way updates to the headers will also be available for future builds):

sudo ln -s wayland/* .

Hope this helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant