Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 1996 00:41:49 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Cc:        mark@grondar.za
Subject:   Re: int'l kerberos build error
Message-ID:  <199602132341.AAA08967@uriah.heep.sax.de>
In-Reply-To: <199602131754.TAA02102@grumble.grondar.za> from "Mark Murray" at Feb 13, 96 07:54:28 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Mark Murray wrote:
> 
> > # find -L /usr/src/eBones -name 'k*.h'
> > /usr/src/eBones/lib/libkadm/obj/kadm_err.h
> > /usr/src/eBones/lib/libkrb/obj/krb_err.h

> > Perhaps a missing ${.CURDIR} somewhere in the Makefiles?  The above
> > .h's are the offenders that prevent the successful build.

> I am not much of a Makefile boffin, and will need help here.
> :-( :-( Sorry!

The following patch seems to fix my problems.  It looks rather kludgy
in some places, but i don't fully understand the various Makefile
macros for the eBones stuff.

Index: eBones/usr.bin/kadmin/Makefile
===================================================================
RCS file: /home/cvs/src/eBones/usr.bin/kadmin/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	1995/09/26 06:19:40	1.6
+++ Makefile	1996/02/13 23:26:48
@@ -3,7 +3,7 @@
 PROG=	kadmin
 SRCS=	${KRBOBJDIR}/krb_err.h kadmin.c kadmin_cmds.c
 CLEANFILES+=	kadmin_cmds.c krb_err.c
-CFLAGS+=	-DPOSIX -I${.CURDIR}/../../lib/libkadm
+CFLAGS+=	-DPOSIX -I${.CURDIR}/../../lib/libkadm -I${KRBOBJDIR}
 DPADD= ${LIBKRB} ${LIBDES}
 LDADD+=	-L${KADMOBJDIR} -lkadm -L${KRBOBJDIR} -lkrb -L${DESOBJDIR} -ldes
 LDADD+=	-lss -lcom_err
Index: eBones/usr.bin/kadmin/kadmin.c
===================================================================
RCS file: /home/cvs/src/eBones/usr.bin/kadmin/kadmin.c,v
retrieving revision 1.3
diff -u -r1.3 kadmin.c
--- kadmin.c	1995/09/13 16:11:04	1.3
+++ kadmin.c	1996/02/13 23:24:25
@@ -32,7 +32,7 @@
 #include <pwd.h>
 #include <ss/ss.h>
 #include <com_err.h>
-#include <kerberosIV/krb_err.h>
+#include <krb_err.h>
 #include <kadm.h>
 
 #define BAD_PW 1
Index: eBones/usr.sbin/kadmind/Makefile
===================================================================
RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	1995/09/26 06:20:08	1.5
+++ Makefile	1996/02/13 23:32:53
@@ -2,7 +2,7 @@
 
 PROG=	kadmind
 SRCS=	admin_server.c kadm_funcs.c kadm_ser_wrap.c kadm_server.c
-CFLAGS+=-DPOSIX -I${.CURDIR}/../../lib/libkadm
+CFLAGS+=-DPOSIX -I${.CURDIR}/../../lib/libkadm -I${.CURDIR}/../../lib/libkadm/obj -I${KRBOBJDIR}
 DPADD=	${LIBKDB} ${LIBKRB} ${LIBDES}
 LDADD+=	-L${KADMOBJDIR} -lkadm -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \
 	-L${DESOBJDIR} -ldes -L${ACLOBJDIR} -lacl -lcom_err
Index: eBones/usr.sbin/kadmind/admin_server.c
===================================================================
RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/admin_server.c,v
retrieving revision 1.4
diff -u -r1.4 admin_server.c
--- admin_server.c	1995/09/13 16:11:22	1.4
+++ admin_server.c	1996/02/13 23:27:59
@@ -35,7 +35,7 @@
 #include <syslog.h>
 #include <com_err.h>
 #include <kadm.h>
-#include <kerberosIV/kadm_err.h>
+#include <kadm_err.h>
 #include <krb_db.h>
 #include "kadm_server.h"
 
Index: eBones/usr.sbin/kadmind/kadm_funcs.c
===================================================================
RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/kadm_funcs.c,v
retrieving revision 1.3
diff -u -r1.3 kadm_funcs.c
--- kadm_funcs.c	1995/09/13 16:11:24	1.3
+++ kadm_funcs.c	1996/02/13 23:31:38
@@ -26,7 +26,7 @@
 #include <com_err.h>
 #include <sys/param.h>
 #include <kadm.h>
-#include <kerberosIV/kadm_err.h>
+#include <kadm_err.h>
 #include <krb_db.h>
 #include "kadm_server.h"
 
Index: eBones/usr.sbin/kadmind/kadm_ser_wrap.c
===================================================================
RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/kadm_ser_wrap.c,v
retrieving revision 1.4
diff -u -r1.4 kadm_ser_wrap.c
--- kadm_ser_wrap.c	1995/09/13 16:11:26	1.4
+++ kadm_ser_wrap.c	1996/02/13 23:32:13
@@ -26,8 +26,8 @@
 #include <netdb.h>
 #include <sys/socket.h>
 #include <kadm.h>
-#include <kerberosIV/kadm_err.h>
-#include <kerberosIV/krb_err.h>
+#include <kadm_err.h>
+#include <krb_err.h>
 #include "kadm_server.h"
 
 Kadm_Server server_parm;
Index: eBones/usr.sbin/kadmind/kadm_server.c
===================================================================
RCS file: /home/cvs/src/eBones/usr.sbin/kadmind/kadm_server.c,v
retrieving revision 1.3
diff -u -r1.3 kadm_server.c
--- kadm_server.c	1995/09/13 16:11:27	1.3
+++ kadm_server.c	1996/02/13 23:25:13
@@ -16,7 +16,7 @@
 
 #include <string.h>
 #include <kadm.h>
-#include <kerberosIV/kadm_err.h>
+#include <kadm_err.h>
 #include "kadm_server.h"
 
 /*


-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602132341.AAA08967>