[6845] in Kerberos

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

Compiling Kerberos 5 on solaris 2.4 using gcc

daemon@ATHENA.MIT.EDU (ccsas@)
Thu Mar 7 07:04:37 1996

To: kerberos@MIT.EDU
Date: 7 Mar 1996 10:34:44 GMT
From: ccsas@
Reply-To: A.Sharaz@ucc.hull.ac.uk

Hi,

I'm in the process of recompiling Kerveros 5 (Major release beta5 minor release 0)
on a Solaris 2.4 machine using GCC. I've set up a small script called buildit that
execures the collowing command:-

configure --with-cc=gcc --with-ccopts="-t -D__svr4__" --prefix="/usr/local/krb5"
--exec-prefix="/usr/local/krb5" --with-krb5-root="/usr/local/krb5"

Once the configuration program has completed, the make fails when attempting to
compile lib/krb5/ccache/file/fcc_gennew.c as it cannot find the system header files
sys/bitypes.h and cdefs.h

Tracing back the header files, file include/k5-config.h has an ifdef section for a
variable HAVE_MACSOCK_H  which includes the header files arpa/inet.h and netdb.h
for "Socket Stuff for Unix machines"

Both the above header files have a few lines that say

#of (!defined(BSD) ]] (BSD <199306)
#include <sys/bitypes.h>
#else
#include <sys/types.h
#endif
#include <sys/cdefs.h>

As these 2 header files do not exist, the compilation fails

I do not have /usr/ucb/ in my LD_LIBRARY_PATH environment variable

Can anyone suggest what additional options I may need to set up the correct configuration variables?


alex


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