Subject: lib/10709: libtelnet has problems building
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 07/29/2000 09:27:12
>Number:         10709
>Category:       lib
>Synopsis:       libtelnet has problems building
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 29 09:28:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Release:        <NetBSD-current source date>
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.5C NetBSD 1.5C (WSRCC) #0: Wed Jul 26 23:02:08 PDT 2000 wolfgang@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:
	
	The /usr/src build process repeatedly chastised me about "MIT
	krb includes must be removed from the include tree" (or some
	such).

	With much apprehension I blew away my 5-year old accumulation
	of include files in /usr/include.

	I was have worrried that I'd not be able to bootstrap.
	Luckily things look pretty good except for the usual
	problem-child -- krb.

	In essense building everything didn't work when I had the old 
	krb5 files in /usr/include.  It also doesn't work now with a 
	totally clean /usr/include.  This is a bug.

>How-To-Repeat:
	/bin/rm -rf /usr/include
	cd /usr/src
	make build

	lib/libtelnet/getent.c /v/src/netbsd/NetBSD-current/usr/src/lib/libtelnet/misc.c
	 /v/src/netbsd/NetBSD-current/usr/src/lib/libtelnet/enc_des.c /v/src/netbsd/NetB
	SD-current/usr/src/lib/libtelnet/kerberos.c kerberos5.c
	In file included from kerberos5.c:64:
	/usr/include/krb5/k5-int.h:49: osconf.h: No such file or directory
	/usr/include/krb5/k5-int.h:291: autoconf.h: No such file or directory
	In file included from kerberos5.c:64:
	/usr/include/krb5/k5-int.h:553: db-ndbm.h: No such file or directory
	In file included from kerberos5.c:64:
	/usr/include/krb5/k5-int.h:734: kdb.h: No such file or directory
	/usr/include/krb5/k5-int.h:735: kdb_dbm.h: No such file or directory
	/usr/include/krb5/k5-int.h:899: profile.h: No such file or directory
	mkdep: compile failed.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.
	*** Error code 1

	Stop.



>Fix:
	kerberos needs a "make includes" target that gets called 
	before actual compilation of the libs takes place
>Release-Note:
>Audit-Trail:
>Unformatted: