help.....krb5 on aix 51L

Isabelle Doran ihdoran at omnisig.com
Fri Jul 26 09:04:58 EDT 2002


I installed my source files under /usr/local/krb5_125.

In /usr/local/krb5_125/src/lib/Makefile, I couln't find MY_SUBDIRS but
instead I found....

        SUBDIRS = krb5 kdb des425 crypto gssapi krb4 kdb4 kadm

In /usr/local/krb5_125/src/, I ran the command

cat config.status | grep -i krb4

and this is what showed up...

# ./configure  --with-cc=cc --with-ccopts=-O --without-krb4 --without-tcl
--disable-shared
    echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --with-cc=cc
--with-ccopts=-O --without-krb4 --without-tcl --
    sable-shared --no-create --no-recursion"
 exec ${CONFIG_SHELL-/bin/sh} ./configure  --with-cc=cc --with-ccopts=-O
--without-krb4 --without-tcl --disable-s
 red --no-create --no-recursion ;;

 s%@KRB4_LIB@%%g


This morning, before I tried configuring, I deleted everything under
/usr/local/krb5-125
and started fresh by untarring the crypto.tar and src.tar files again.

I am getting a slightly different error with the make but always with the
klog.c file and the tm struct.

[
 cc -O -DHAVE_LIBNSL=1 -DPOSIX_FILE_LOCKS=1 -DHAS_UNISTD_H=1 -DMSBFIRST=1
-DSIZEOF_INT=4 -DBITS32=1  -I./../.
 ./include -I../../include -I./../../include/krb5 -I../../include/krb5
-I./../../include/kerberosIV -c klog.c
  "klog.c", line 88.8: 1506-068 (W) Operation between types "struct tm*"
and "int" is not allowed.
  "klog.c", line 90.51: 1506-285 (S) The indirection operator cannot be
applied to a pointer to an incomplete struct o
  r union.
  "klog.c", line 91.25: 1506-285 (S) The indirection operator cannot be
applied to a pointer to an incomplete struct o
  r union.
  "klog.c", line 91.41: 1506-285 (S) The indirection operator cannot be
applied to a pointer to an incomplete struct o
  r union.
  "klog.c", line 92.13: 1506-285 (S) The indirection operator cannot be
applied to a pointer to an incomplete struct o
  r union.
  "klog.c", line 92.26: 1506-285 (S) The indirection operator cannot be
applied to a pointer to an incomplete struct o
  r union.
  "klog.c", line 92.38: 1506-285 (S) The indirection operator cannot be
applied to a pointer to an incomplete struct o
  r union.
  make: 1254-004 The error code from the last command is 1.


  Stop.
  make: 1254-004 The error code from the last command is 1.


  Stop.
  make: 1254-004 The error code from the last command is 1.


  Stop.

]


I agree with you that my "main" problem is ...why is it compiling krb4
stuff.
klog.c is located under the /usr/local/krb5_125/src/kerberosIV/ directory.

Thanks for all your help.  You don't know how much I appreciate specially
since IBM won't provide support for kerberos.


Ken Raeburn wrote:

> Isabelle Doran <ihdoran at omnisig.com> writes:
> > I did reconfigure with cc.
> > Let me test it with your options and I will get back to you
> >
> > Dan Million wrote:
> >> I use:  configure --with-cc=cc --with-ccopts="-O" \
> >>                 --without-krb4 --without-tcl \
> >>                 --disable-shared
>
> Note that when you reconfigure with different options, you should do
> it in a new, empty build tree, or at least get rid of config.cache,
> which caches system configuration information looked up under the
> previous configuration.  If the choice of compiler is making a
> difference (and from your first message I'd say gcc is breaking a test
> for the header file containing "struct tm", which could be a gcc bug
> or a broken installation of it), you really want to throw away those
> old results.
>
> Our AIX box here is offline at the moment (some sort of boot-time
> problem we haven't fixed yet), but it's running 4.3.3 anyways, so the
> fact that I've successfully built krb5 on it wouldn't mean much.
>
> I'm also a little confused why it would be building the krb4 library
> if you indicated "--without-krb4" at configure time.  If you look for
> MY_SUBDIRS in lib/Makefile, and "grep -i krb4" in the top-level
> config.status, what do you find?
>
> Ken

--
         \|||||||||||/
          + +
---ooo-----oooo---
Isabelle Doran
Communications Security Establishment
Ottawa, ON
Canada
(613) 443-3060
---oooO   Oooo---

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/kerberos/attachments/20020726/77983d54/attachment.htm


More information about the Kerberos mailing list