[2363] in Kerberos-V5-bugs
pending/122: krb5-beta7: --with-krb4
daemon@ATHENA.MIT.EDU (John Gardiner Myers)
Sat Oct 19 16:52:27 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, John Gardiner Myers <jgm@CMU.EDU>
Date: Sat, 19 Oct 1996 16:50:08 -0400 (EDT)
From: John Gardiner Myers <jgm@CMU.EDU>
To: krb5-bugs@MIT.EDU
>Number: 122
>Category: pending
>Synopsis: krb5-beta7: --with-krb4
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sat Oct e 16:52:01 EDT 1996
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>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