[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building Kerberos



Tom Rini wrote:

> On Wed, 15 Dec 1999, Kevin Puetz wrote:
>
> >
> > trini@kernel.crashing.org said:
> > > Right, I've got arla & krb4 stuff going, but it needed a va_args patch
> > > when I complied :)
> >
> > Odd - I never patched anything, in fact I just rebuilt it to be sure. What
> > part of the package was the va_args problem in?
>
> This part:
>
> -- krb4-0.10.1/lib/roken/snprintf.c    Sat Mar 27 09:32:57 1999
> +++ krb4-0.10.1.vaarg/lib/sl/snprintf.c Fri Oct 29 18:11:15 1999
> @@ -268,11 +268,11 @@
>
>  #define PARSE_INT_FORMAT(res, arg, unsig) \
>  if (long_flag) \
> -     res = va_arg(arg, unsig long); \
> +     res = (unsig long) va_arg(arg, int); \
>  else if (short_flag) \
> -     res = va_arg(arg, unsig short); \
> +     res = (unsig short) va_arg(arg, int); \
>  else \
> -     res = va_arg(arg, unsig int)
> +     res = (unsig int) va_arg(arg, int)
>
>  /*
>   * zyxprintf - return 0 or -1

Yes!  That's it!  Thank you sooo much!  Now the source package almost builds.

There are a few errors in rlogind (appl/bsd/rlogind.c), and a few more in
telnetd (appl/telnet/telnetd/telnetd.c), but it keeps building through those.
Likewise for missing com_err libs to install, but I have them installed already
(comerr-dev package).  And there seems to be an obsolete install-info
invocation, but I think I've seen that before on other packages, must be
outdated arguments.

rlogind and telnetd cause some other problems, like no krsh, krcp, klogin or ksu
(need to comment the setuid for ksu in debian/rules to keep going).  So I also
had to remove those from the .files files.

With all of this done, I got five complete packages (executables are missing
from -clients and -services), which is all I need.

With that much, kerberized zephyr builds and installs...  Doesn't quite run, but
there are a couple of things I need to try.

Thank you very, very much!!

          Adam Powell                     http://lyre.mit.edu/~powell/
          Thomas B. King Assistant Professor of Materials Engineering
          77 Massachusetts Ave. Rm. 4-117         Phone (617) 452-2086
          Cambridge, MA 02139 USA                   Fax (617) 253-5418





Reply to: