Bug 18995

Summary: Kerberos5 INCLUDES needed for make world
Product: Base System Reporter: ftobin <ftobin>
Component: miscAssignee: assar <assar>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description ftobin 2000-06-04 05:00:02 UTC
In order to copmile Kerberos5 (heimdal) on FreeBSD 4 from a 'make world',
certain KerboersIV includes, such as krb.h, must be available,
it appears.  I presume that these includes are needed for KerberosIV
compatibility.  This problem is only apparent if one is not building
KerberosIV with Kerberos5.

Fix: 

In /usr/src/kerberos5/lib/libkrb5/Makefile, add the following
to CLFLAGS:
	-I/usr/src/crypto/kerberosIV/lib/krb

Of course, edit as needed to use the proper variables so that this is
not hard-coded, although this should work on a 'normal' system which
cvsup's into /usr/src.
How-To-Repeat: put MAKE_KERBEROS5=YES into /etc/make.conf.
Do NOT have MAKE_KERBEROS4=YES in /etc/make.conf
make world

The problem will appear during some portion of krb5; it will die
because it can't #include krb5.h
Comment 1 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-06-06 10:31:48 UTC
Responsible Changed
From-To: freebsd-bugs->markm

Over to Mr. Kerberos himself.
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-10 11:12:11 UTC
Responsible Changed
From-To: markm->assar

Assar has taken this over from Mark.
Comment 3 assar freebsd_committer freebsd_triage 2001-02-21 11:13:50 UTC
Thanks for your report.  This has been fixed with the import of
Heimdal 0.3e in current, which will be MFC:ed to stable shortly.

/assar
Comment 4 assar freebsd_committer freebsd_triage 2001-02-21 11:20:43 UTC
State Changed
From-To: open->closed

this has been fixed in -current with the import of heimdal 0.3e (to be 
MFC:ed to stable)