[1831] in Kerberos-V5-bugs
Compiling Kerberos 5 on Solaris 2.4 machine with gcc
daemon@ATHENA.MIT.EDU (Alex Sharaz)
Thu Mar 7 09:18:10 1996
From: Alex Sharaz <A.Sharaz@ucc.hull.ac.uk>
To: krb5-bugs@MIT.EDU
Date: Thu, 7 Mar 1996 13:37:18 +0000 (GMT)
Read-Receipt-To: Alex Sharaz <A.Sharaz@ucc.hull.ac.uk>
Delivery-Receipt-To: Alex Sharaz <A.Sharaz@ucc.hull.ac.uk>
Return-Receipt-To: Alex Sharaz <A.Sharaz@ucc.hull.ac.uk>
Hi,
I recently sent out this message to the kerberos newsgroup:-Any Help sould be
appreciated
alex
================================================================================
Newsgroups: comp.protocols.kerberos
Subject: Compiling Kerberos 5 on solaris 2.4 using gcc
Date: 7 Mar 1996 10:34:44 GMT
Message-ID: <4hme44$4pn@sullivan.ucc.hull.ac.uk>
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
RFC-822:A.Sharaz@ucc.hull.ac.uk
X.400:I=A;S=Sharaz;OU=Computer Centre;O=Hull;P=UK.AC;C=GB
X.500:c=GB@o=University of Hull@ou=Computer Centre@cn=Alexander Sharaz
Sent using Simeon 4.0