From jgm+@andrew.cmu.edu Sat Oct 19 16:51:55 1996 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id QAA25689 for ; Sat, 19 Oct 1996 16:51:55 -0400 Received: from PO10.ANDREW.CMU.EDU by MIT.EDU with SMTP id AA04041; Sat, 19 Oct 96 16:51:54 EDT Received: (from postman@localhost) by po10.andrew.cmu.edu (8.7.5/8.7.3) id QAA00826 for krb5-bugs@athena.mit.edu; Sat, 19 Oct 1996 16:51:51 -0400 Received: via switchmail; Sat, 19 Oct 1996 16:51:49 -0400 (EDT) Received: from hogtown.andrew.cmu.edu via qmail ID ; Sat, 19 Oct 1996 16:50:12 -0400 (EDT) Received: from hogtown.andrew.cmu.edu via qmail ID ; Sat, 19 Oct 1996 16:50:10 -0400 (EDT) Received: from BatMail.robin.v2.14.CUILIB.3.45.SNAP.NOT.LINKED.hogtown.andrew.cmu.edu.sun4m.54 via MS.5.6.hogtown.andrew.cmu.edu.sun4_51; Sat, 19 Oct 1996 16:50:08 -0400 (EDT) Message-Id: Date: Sat, 19 Oct 1996 16:50:08 -0400 (EDT) From: John Gardiner Myers To: krb5-bugs@MIT.EDU Subject: krb5-beta7: --with-krb4 >Number: 122 >Category: krb5-misc >Synopsis: krb5-beta7: --with-krb4 >Confidential: no >Severity: serious >Priority: medium >Responsible: krb5-unassigned >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Sat Oct e 16:52:01 EDT 1996 >Last-Modified: Thu Feb 19 18:16:23 EST 1998 >Originator: >Organization: >Release: beta-7 >Environment: >Description: >How-To-Repeat: >Fix: We will remove documentation for the --with-krb4 option and remove the usage mesage; The actual functionality can be made to work. >Audit-Trail: Responsible-Changed-From-To: gnats-admin->krb5-unassigned Responsible-Changed-By: hartmans Responsible-Changed-When: Sat Nov 9 08:24:55 1996 Responsible-Changed-Why: State-Changed-From-To: open-analyzed State-Changed-By: hartmans State-Changed-When: Sat Nov 9 08:26:32 1996 State-Changed-Why: Discussed at release meeting; the option will be left in but documentation will be removed. State-Changed-From-To: analyzed-closed State-Changed-By: tlyu State-Changed-When: Thu Feb 19 18:16:07 1998 State-Changed-Why: Should have gone away a long time ago. >Unformatted: Configuring --with-krb4=/some/path usually doesn't work, as krb524 tries to pull some include files out of /some/path and some others out of ../../include/kerberosIV. The declarations usually conflict: gcc -g -O -DUSE_MASTER -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DRETSIGTYPE=void -DHAVE_COMPILE=1 -DHAVE_STEP=1 -DHAVE_SYS_SELECT_H=1 -DKRB5_KRB4_COMPAT -I./../include -I../../src/krb524/../include -I./../include/krb5 -I../../src/krb524/../include/krb5 -I/usr/local/include -I../../src/krb524/../include/kerberosIV -I./../include/kerberosIV -I. -I../../src/krb524 -DKRB5_KRB4_COMPAT -I./../include -I../../src/krb524/../include -I./../include/krb5 -I../../src/krb524/../include/krb5 -I/usr/local/include -c ../../src/krb524/cnv_tkt_skey.c In file included from /usr/local/include/des.h:17, from /usr/local/include/kerberos.h:19, from /usr/local/include/krb.h:20, from ../../src/krb524/cnv_tkt_skey.c:29: /usr/local/include/conf.h:54: warning: `PROTOTYPE' redefined ../include/profile.h:9: warning: this is the location of the previous definition In file included from ../../src/krb524/cnv_tkt_skey.c:30: ../../src/krb524/../include/kerberosIV/krb4-proto.h:59: parse error before `*' ../../src/krb524/../include/kerberosIV/krb4-proto.h:155: conflicting types for `krb_mk_priv' /usr/local/include/kerberos.h:351: previous declaration of `krb_mk_priv' ../../src/krb524/../include/kerberosIV/krb4-proto.h:189: conflicting types for `krb_rd_req' /usr/local/include/kerberos.h:374: previous declaration of `krb_rd_req' gmake[1]: *** [cnv_tkt_skey.o] Error 1 I might suggest you get rid of the --with-krb4=/some/path option, leaving just the options of using the included krb4 support or none at all. When configuring using --with-krb4, the v4 libararies are installed incorrectly. It installs them in /usr/local/lib/libkrb4.a instead of /usr/local/lib/libkrb.a as all of the v4 clients expect. Also, the "krb.h" and "des.h" header files are not installed in /usr/local/include. A /usr/local/lib/libdes.a should also be put together and installed. -- _.John Gardiner Myers Internet: jgm+@CMU.EDU LoseNet: ...!seismo!ihnp4!wiscvm.wisc.edu!give!up