I get this error while trying to build xless for Fedora. I found these possible explanations: imake Frequently Asked Questions
I think 1 and 3 can be excluded:
- I don’t call imake directly but use xmkmf (1)
- The configuration files are present in /usr/share/X11/config (3). I did look for them in a previous attempt by adding this before xmkmf:
find /usr/share/X11/config
What about the second explanation?
You’re using a bootstrapper, but it’s misconfigured. Bootstrappers typically pass one or more -Idir arguments to imake to tell it where the configuration files are located. If the bootstrapper doesn’t pass the correct location(s), imake won’t find the files. To fix this, you need to take a look at your bootstrapper (it’s probably a script and can be examined using a text editor), and change the location(s) that it passes to imake.
https://build.opensuse.org/package/show?package=xless&project=home%3Aplease_try_again%3AFedora