Dear people,
Openssh appears to have the option to compile with krb4 support, judging
by the config script. There is a line that says
ac_help="$ac_help
--with-kerberos4=PATH Enable Kerberos 4 support"
I assume this means add the flag
--with-kerberos4=PATH
to ./configure.
However, I have the KTH version of KERBOROS, which has files in
idiosyncatic places. All the stuff is in /usr/athena, with subdirectories
like lib and include. krb.h is in /usr/athena/include, but the script
complains it cannot find it when I set PATH=/usr/athena. I get the
following output from configure which seems relevant. I have no idea what
"checking for main in -lkrb... yes" means.
******************************************************************
checking for krb.h... no
checking for main in -lkrb... yes
configure: warning: Cannot find krb.h, build may fail
******************************************************************
I don't understand these scripts well enough to understand what is going
on. Can someone tell me what I need to do. The relevant area of configure
appears below. I hope drastic changes will not be necessary.
By the way, I have no idea what the KRB4_MSG="no" means. My impression is
that it has no functional part, but I could be wrong.
********************************************************************
# Check whether user wants Kerberos support
KRB4_MSG="no"
# Check whether --with-kerberos4 or --without-kerberos4 was given.
if test "${with_kerberos4+set}" = set; then
withval="$with_kerberos4"
if test "x$withval" != "xno" ; then
if test "x$withval" != "$xyes" ; then
CFLAGS="$CFLAGS -I${withval}/include"
LDFLAGS="$LDFLAGS -L${withval}/lib"
if test ! -z "$need_dash_r" ; then
LDFLAGS="$LDFLAGS
-R${withval}/lib"
fi
if test ! -z "$blibpath" ; then
blibpath="$blibpath:${withval}/lib"
fi
else
if test -d /usr/include/kerberosIV ; then
CFLAGS="$CFLAGS
-I/usr/include/kerberosI
fi
fi
for ac_hdr in krb.h
***************************************************************************
I'd appreciate any help.
Faheem.