[1576] in Kerberos-V5-bugs
Re: kerberos 5 under solaris
daemon@ATHENA.MIT.EDU (Thomas Ching [])
Fri Jul 28 12:53:23 1995
Date: Fri, 28 Jul 1995 09:52:04 -0700
From: tching@glenayre.com (Thomas Ching [])
To: marc@MIT.EDU, tytso@MIT.EDU
Cc: krb5-bugs@MIT.EDU
Hi: thanks for your reply.
You were saying that Kerberos should figure out the O.S. and include the
/usr/include instead of /usr/ucbinclude, but it's not case on our system.
I am currently building Kerberos under solaris 2.3, but the configure program
figured out the system as "sun" (does that mean "sun 5.3" or SunOS ??)
and it went ahead with /usr/ucbinclude (ucbcc default include).
Also, it linked with ucb libraries.
Thanks for your time
Thomas
By the way, if I didn't use /usr/ucbinclude, I would hit a problem when
compile lib/krb5/ccache/file/fcc_maybe.c.
The compiler would come back and complain not finding the definition
of "LOCK_SH", "LOCK_EX", and "LOCK_UN" which are defined in the
ucbinclude files but not native solaris include file. I was wondering
that if this is the case, how do I compile the package with /usr/include
only ??
----- Begin Included Message -----
From tytso@MIT.EDU Thu Jul 27 18:59:08 1995
Date: Thu, 27 Jul 1995 21:59:46 -0400
From: Theodore Ts'o <tytso@MIT.EDU>
To: Marc Horowitz <marc@MIT.EDU>
Cc: tching@glenayre.com, krb5-bugs@MIT.EDU
Subject: Re: kerberos 5 under solaris
Address: 1 Amherst St., Cambridge, MA 02139
Phone: (617) 253-8091
Content-Length: 809
Date: Thu, 27 Jul 1995 19:32:33 EDT
From: Marc Horowitz <marc@MIT.EDU>
>> Could you please tell me why we can not build with ucb libraries and what
>> would happen if I did ??
I can't be more specific, but the solaris ucb libraries are known to
be buggy. If you use them, the binaries will usually work, but will
exhibit really weird failures you won't be able to debug.
Use of the Solaris ucb libraries may be incompatible with linking with
some of the other Solaris provided libraries. In almost any
circumstances, using the ucb libraries is generally a mistake.
Kerberos V5 is designed to portable enough that it will compile and link
file using the native Solaris C libraries. Using the ucb library is
therefore not necessary will cause you grief in the long run.
- Ted
----- End Included Message -----