[7449] in Kerberos

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

Re: new directory layout

daemon@ATHENA.MIT.EDU (Doug Engert)
Mon Jun 10 21:09:28 1996

Date: Mon, 10 Jun 1996 20:01:19 -0500
From: Doug Engert <DEEngert@anl.gov>
To: Sam Hartman <hartmans@MIT.EDU>
Cc: Dave McGuire <mcguire@rocinante.digex.net>, Tom Yu <tlyu@MIT.EDU>,
        kerberos@MIT.EDU
In-Reply-To: <tslyblwoam0.fsf@tertius.mit.edu>

Sam Hartman writes:

 > 
 > 	It is a bug that krb5 doesn't support DESTDIR; it will need to
 > be fixed before new versions of krb5 can be included in the Athena
 > release.

DESTDIR appears to work fine! Its not broken. 

I use it in with all of the Kerberos installs. Please don't change its
function!  As you pointout in the (1) below its an alternate root, The
answer to the original problem is to use --prefix=/krb5

We build the code in AFS using --prefix=/krb5, and add a
DESTDIR=/afs/<cell>/appl/kerb-5.6/@sys to the install. We can then
link or copy the files to /krb5 on the individual machine. 
/krb5/sbin/* get copied, the lib, man, bin, and include are symlinks to
/afs/..../@sys/krb5/...  Paths which are compiled in start at /krb5,
where they can be found, yet we can "install" them in AFS at a
different location.

 > 
 > 	However, make DESTDIR=/krb5 install wouldn't have worked even
 > were it supported.
 > 
 > 	1)  The argument to DESTDIR is an alternate root; it would
 > install in /krb5/usr/local/bin, not /krb5/bin.
 > 
 > 2)  The binaries would look for things in /usr/local, not /krb5.
 > 

 
 Douglas E. Engert  <DEEngert@anl.gov>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439 
 (708) 252-5444
 PGP Key fingerprint =  20 2B 0C 78 43 8A 9C A6  29 F7 A3 6D 5E 30 A6 7F
         i

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