[2731] in Kerberos-V5-bugs
pending/424: FWD: Bad error in the K5 config file
daemon@ATHENA.MIT.EDU (jar@ornl.gov)
Tue May 6 16:24:32 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, jar@ornl.gov
Date: Tue, 06 May 1997 16:19:14 -0400 (EDT)
From: jar@ornl.gov
To: krb5-bugs@MIT.EDU
>Number: 424
>Category: pending
>Synopsis: FWD: Bad error in the K5 config file
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue May 06 16:20:00 EDT 1997
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
There is a problem in the config files for krb5p1.
In src/util/profile/configure, around line 1199, the code has
a comment in it that gets catted to a C program which doesn't use # for
comments or recognizes #line as a valid preprocessor command.
Things like this make it hard to deploy Kerberos.
I haven't gotten make to work yet on an HP. I had several bad include files on
my AIX 4.2 machine. See my Web page:
http://www.epm.ornl.gov/~jar/HowToKerb.htm
>
> # If we cannot run a trivial program, we must be cross compiling.
> echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
> if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
> echo $ac_n "(cached) $ac_c" 1>&6
> else
> if test "$cross_compiling" = yes; then
> ac_cv_c_cross=yes
> else
> cat > conftest.$ac_ext <<EOF
> /*#line 1200 "configure" ########## BUG######## */
> #include "confdefs.h"
> main(){return(0);}
> EOF
> { (eval echo configure:1204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
> if test -s conftest && (./conftest; exit) 2>/dev/null; then
> ac_cv_c_cross=no
> else
> ac_cv_c_cross=yes
> fi
> fi
> rm -fr conftest*
> fi
>
James Rome
ORNL