Description of problem: Building nxviewer fails with + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config make Makefiles making Makefiles in nxviewer... make[1]: Entering directory `/BUILD/nx-1.5.0/nxviewer' Imakefile.c:34: error: Imake.tmpl: No such file or directory imake: Exit code 1. Stop. I also tried imake -DUseInstalled -I/usr/share/X11/config directly and the resulting Makefile has no references at all to /usr/share/X11/config Version-Release number of selected component (if applicable): imake-1.0.0-4 How reproducible: always Steps to Reproduce: 1.Untar nxviewer-1.5.0-15.tar.gz 2.xmkmf -a 3. Actual results: see above Expected results: Makefile should know where Imake.tmpl is. Additional info: I'm attaching the Imakefile for which xmkmf -a fails.
Created attachment 123367 [details] Imakefile for which xmkmf -a fails
I have also experienced similar problem with Canna that uses xmkmf to generate Makefile. the problem is that imake generates Makefile with the wrong path for imake. it's referring to /usr/lib/X11/config but not /usr/share/X11/config.
Created attachment 123648 [details] update patch to replace original xorg-cf-files-1.0.0-redhat.patch
Akira's patch fixed the issue for me (thanks!), I tested the nx builds against the patched up imake on FC5 test3.
The added: "# define ConfigDir /usr/share/X11/config" in Akira's patch made it possible for me to compile my old fvwm-1.24r SRPM too (don't ask .. :-). I added this line by hand to the "xorg-cf-files-1.0.1-redhat.patch" from rawhide's "imake-1.0.1-2.src.rpm". Without this fix I get the "Imakefile.c:34: error: Imake.tmpl: No such file or directory" problem too.
Fixed in imake-1.0.1-3