[2640] in Kerberos_V5_Development

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

Re: The dreaded windows build ...

daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Thu Oct 23 14:30:55 1997

Date: Thu, 23 Oct 1997 14:30:39 -0400
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Cc: krbdev@MIT.EDU
In-Reply-To: Ken Hornstein's message of Wed, 22 Oct 1997 18:24:20 -0400,
	<199710222224.SAA05784@ginger.cmf.nrl.navy.mil>

   Date: Wed, 22 Oct 1997 18:24:20 -0400
   From: Ken Hornstein <kenh@cmf.nrl.navy.mil>

   Renaming lib\krb5\krb\ERROR_TA to lib\krb5\krb\error_tables made the
   build get farther, but there seemed to be plenty of other errors regarding
   files that exceeded the 8x3 filename limit.  I noticed that the call
   to "zip" when building kerbsrc.tar uses the -k option to change the
   pathnames to conform to MS-DOS format ... is that correct?  If it is,
   should all of the Makefiles already know about the "short" names?  There
   seems to be such a fundamental problem with the build process, I have
   to believe that I'm doing something wrong.

There are two targets in the top-level Makefile.in, kerbsrc-nt.zip, and
kerbsrc.zip.  If you are using a DOS/Windows filesystem which knows
about long filenames, you must use kerbsrc-nt.zip; otherwise, you must
use kerbsrc.zip.

The difference is indeed in the the use (or not) of the -k option to
convert filenames to the 8.3 names or not.

The Krb5 source tree is carefully set up to have filenames which are
unique to 8.3, and if you are using a filesytem which only understands
8.3, it will truncate the long filenames to 8.3.  That's why you don't
have to muck with the Makefiles to know about the "short" names.  You
just have to use the appropriate kerbsrc-nt.zip or kerbsrc.zip as
appropriate for your system.  

(The kerbsrc-nt.zip name is a bit of a misnomer since it's really about
whether your OS/filesystem understands long filenames --- you'd still
use kerbsrc-nt.zip under Windows/95, for example.)

						- Ted


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