Subject: Re: Afterstep & libXpm.4.7
To: T. Sean <71410.25@compuserve.com>
From: Colin Wood <cwood@ichips.intel.com>
List: port-mac68k
Date: 10/22/1997 11:06:16
T. Sean wrote:
> 
> Colin wrote:
> 
> >Ack!  Definitely do the latter, not the former.  In all reality, you've
> >probably forgotten to do an 'xmkmf', most X applications require doing
> >this before you compile, but once you have done so, compiling them is a
> >breeze ;-)
> >
> 
> What's a 'xmkmf'?

It's basically "X make makefile".  It lives in /usr/X11R6/bin and takes an
Imakefile (which describes what make needs to know to build the binary in
question), and adds in various templates from your local system that tell
the Makefile where important things (like X) are.  I'm sure it's probably
a very useful tool, but I've seen few (i.e. no) applications outside of X
which use it.  However, just about every X app does use it, so the usual
way to compile an X app is:

xmkmf
make

rather than the usual 'make'.  Sometimes, for more complex programs, you
need to do a:

xmkmkf -a
make

instead, but this kind of info is usually in the README file which
accompanies the app.

If you want to know more about this, read the man page for xmkmf(1).

I hope this helps some.

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.