imake.tmpl not found

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

imake.tmpl not found

#1 Post by Tman »

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: Select all

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 ).

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#2 Post by goingnuts »

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....

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#3 Post by amigo »

The needed files are from the xorg-cf-files package. The 'sources' are part of the 'util' group of X sources.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#4 Post by Karl Godt »

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 :
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: Select all

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 .

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#5 Post by Tman »

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.

Post Reply