Bug 178177 - xmkmf/imake don't set config file for Imake.tmpl properly
xmkmf/imake don't set config file for Imake.tmpl properly
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: imake (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
:
Depends On:
Blocks: FC5Target 178656
  Show dependency treegraph
 
Reported: 2006-01-18 05:48 EST by Axel Thimm
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-07 00:49:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Imakefile for which xmkmf -a fails (1.45 KB, text/plain)
2006-01-18 05:48 EST, Axel Thimm
no flags Details
update patch to replace original xorg-cf-files-1.0.0-redhat.patch (526 bytes, patch)
2006-01-24 23:38 EST, Akira TAGOH
no flags Details | Diff

  None (edit)
Description Axel Thimm 2006-01-18 05:48:48 EST
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.
Comment 1 Axel Thimm 2006-01-18 05:48:48 EST
Created attachment 123367 [details]
Imakefile for which xmkmf -a fails
Comment 2 Akira TAGOH 2006-01-24 23:36:55 EST
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.
Comment 3 Akira TAGOH 2006-01-24 23:38:07 EST
Created attachment 123648 [details]
update patch to replace original xorg-cf-files-1.0.0-redhat.patch
Comment 4 Axel Thimm 2006-02-21 08:09:57 EST
Akira's patch fixed the issue for me (thanks!), I tested the nx builds against
the patched up imake on FC5 test3.
Comment 5 Rob van Nieuwkerk 2006-03-04 21:08:53 EST
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.
Comment 6 Mike A. Harris 2006-03-06 19:36:08 EST
Fixed in imake-1.0.1-3

Note You need to log in before you can comment on or make changes to this bug.