Try to search for X11.rules (without the space before the dot)
Yes, there is a "X11.rules" on the system, in /usr/local/lib/X11/config/ , the same place as Imake.tmpl. I made a copy and called it "X11 .rules", it does not help. This is the problem, why does Imake want the file with the space in the name? And when there is one in the same directory as Imake.tmpl, which it finds, why does it not find it?
OK, the fact that X11.rules exists is a good sign, but it imply that the filename is wrongly listed in some other place, possibly a makefile or a file included from makefile or something like that.
So, what file is imake looking into ?
Because you reported you had the same issue upon building several apps, this is an hint that the wrong name is a system wide issue (as opposed to affecting only one package).
Code: Select all
grep "X11\*.rules" /usr/local/lib/X11/config
(the "\*" is supposed to match also other characters, like TAB)
if you can't find it, try to "grep -r" in other places, (though imake is not something I'm familiar with).
If you find "X11 .rules" somewhere, try to edit the file and replace it with "X11.rules".