| Author |
Message |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Sun 03 Jun 2012, 18:56 Post subject:
imake.tmpl not found Subject description: slacko 5.3.3 |
|
I was trying to compile Xaw3d from: -> here <- and was puzzled about how to compile it.
Some Googling led me to these build instructions.
Unfortunately, when I got to step 4 and typed "xmkmf", I couldn't compile it, but instead, I got the following error messages:
| Code: |
Imakefile.c:34:0: fatal error: Imake.tmpl: No such file or directory
compilation terminated.
imake: Exit code 1.
Stop.
|
The only real relevant info that I managed to find from the murga forum was -> here
I was wondering if anyone knows where I can find the configuration/template files for Imake?
Actually, I later realized that I did not need Xaw3d, as the standard Xaw that comes with Slacko is sufficient, but that does not solve that problem with xmkmf and imake ( for compiling other apps that I might need to use xmkmf with ).
|
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 626
|
Posted: Wed 18 Jul 2012, 16:03 Post subject:
|
|
I had sort of same problem in P412 so created the attached pet holding most of the stuff needed - think I originally got it from debian but cant quite remember....
| Description |
xmkmf stuff
|

Download |
| Filename |
xmkmf.pet |
| Filesize |
257.52 KB |
| Downloaded |
243 Time(s) |
|
|
Back to top
|
|
 |
amigo
Joined: 02 Apr 2007 Posts: 1757
|
Posted: Fri 20 Jul 2012, 12:59 Post subject:
|
|
The needed files are from the xorg-cf-files package. The 'sources' are part of the 'util' group of X sources.
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2675 Location: Kiel,Germany
|
Posted: Sat 21 Jul 2012, 22:48 Post subject:
|
|
This imake error message is misleading . The needed files are in /usr[/X11R7]/lib/X11/config directory .
They should be part of the devx .
It needs to set the IMAKEINCLUDE global varible from man imake :
| Quote: | IMAKEINCLUDE
If defined, this specifies a ``-I'' include argument to pass to
the C preprocessor. E.g., ``-I/usr/X11/config''. |
I have put a script into /etc/profile.d/directory called imake to export it
sample :
| Code: | if [ -d /usr/lib/X11/config ];then
IMAKEINCLUDE="-I/usr/lib/X11/config"
elif ....
else
error
fi
if [ "$IMAKEINCLUDE"];then
export IMAKEINCLUDE="$IMAKEINCLUDE"
fi |
or similar .
|
|
Back to top
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 731 Location: Toronto
|
Posted: Sat 28 Jul 2012, 16:25 Post subject:
|
|
Thanks everyone for the enlightening answers! I haven't been compiling anything new lately, but I just wanted to add my reply here so that no-one would feel like I was brushing them off.
|
|
Back to top
|
|
 |
|