[1440] in Kerberos

home help back first fref pref prev next nref lref last post

Using imkmf to build X11R4, Kerberos 5, Motif 1.1.2

daemon@ATHENA.MIT.EDU (Brain in Neutral)
Tue Jul 2 15:55:01 1991

Date: 2 Jul 91 18:49:07 GMT
From: bin@primate.wisc.edu (Brain in Neutral)
To: kerberos@shelby.Stanford.EDU

I recently put a configuration package based on imake up for anonymous
FTP (the WRPRC configuration distribution).  This distribution contains
a program imkmf which is a hacked-up version of xmkmf that knows about
multiple project groups.  It turns out that the WRPRC configuration
architecture can be used via imkmf to configure (i.e., build the Makefiles
for) other large systems such as X11R4, Kerberos Version 5 and Motif 1.1.2.

Please note that I have gone no farther on any of these systems than
"make Makefiles".

------------------
Using the WRPRC configuration distribution to build other systems

Below are some notes on getting the Makefiles for some other major
projects built.  The reason you might want to do this is to avoid
having to build imake/makedepend under the source tree for each
project every time you do a World build or after you do cleans.

Assume that your PubConfigPath is /usr/lib/config.

X11R4:

Assuming you have your X configuration files installed in /usr/lib/X11/config,
do the following:
	cd /usr/lib/config
	ln -s /usr/lib/X11/config X11R4

cd to the top of the X source tree, and do the following:
	imkmf -C X11R4
	make Makefiles

If you want to use imkmf like xmkmf (that is, to assume an X-centric imake
world), do the following:
	cd /usr/lib/config
	ln -s /usr/lib/X11/config default

cd to the top of the X source tree, and do the following:
	imkmf
	make Makefiles

That is, you'll be able to use imkmf like xmkmf anywhere, and the default
configuration files will be assumed to be the X configuration files.  You'll
also be able to use imkmf to build other X programs distributed with only
an Imakefile.


Kerberos V5:

The configuration files are broken, because the definition for IMAKE_CMD
if UseInstalled is defined assumes the configuration files are in CONFIGDIR,
which isn't defined anywhere.  The right place for it would be Project.tmpl,
but as a quick hack, site.def can be used.  If your Kerberos source top-level
directory is /a/b/c/kerberos, then put the following line at the end of
site.def:
	CONFIGDIR = /a/b/c/kerberos/config

Also do the following:
	cd /usr/lib/config
	ln -s /a/b/c/kerberos/config kerberos

cd to the top of the Kerberos source tree, and do the following:
	imkmf -C kerberos
	make Makefiles


Motif 1.1.2:

The configuration files for this are broken, too, because they assume
the files will be installed in /usr/lib/X11/config.  But the X files will
be there already.  If your Motif source top-level directory is /a/b/c/motif,
put the following line at the end of site.def:

# define	ConfigDir /a/b/c/motif/config

Also do the following:
	cd /usr/lib/config
	ln -s /a/b/c/motif/config motif

cd to the top of the Kerberos source tree, and do the following:
	imkmf -C motif
	make Makefiles
-- 
Paul DuBois
dubois@primate.wisc.edu

home help back first fref pref prev next nref lref last post