[1744] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: hpux 10 builds

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon Sep 9 17:06:56 1996

To: Mark Eichin <eichin@cygnus.com>
Cc: Marc Horowitz <marc@MIT.EDU>, "Theodore Y. Ts'o" <tytso@MIT.EDU>,
        krbcore@MIT.EDU
From: Ken Raeburn <raeburn@cygnus.com>
Date: 09 Sep 1996 17:05:42 -0400
In-Reply-To: Mark Eichin's message of 09 Sep 1996 14:05:53 -0400


> Most of it works if you set $CC to "c89 -D_HPUX_SOURCE" -- this gets
> you an ANSI compiler with a useful namespace, and is documented in one
> of the hp cc man pages.

My builds have been getting done with the defaults coded into our
source tree:

      HP-UX:*9.*)  CC="c89 +Olibcalls -D_HPUX_SOURCE" ;;
      HP-UX:*10.*) CC="gcc -O" ;;

without much problem.  And I do have a fix for building shared libs
with gcc.

> HP/UX 10 doesn't have /usr/dict/words (it has spell but that uses the
> hashes instead) so make check blows up right way :-}

I provided a fake dictionary, and conditionally disabled the tests
that require more entries than I provided.

> There are also some problems with shared libraries that I'm still
> trying to grok (one of which is that constructing libkadm5srv doesn't
> work because libdb isn't compiled pic -- I can drop -ldb from that
> build line and the library builds and applications link but I don't
> know yet if they run...)

Right.  I'm leaving it out.  I haven't tried running installed
programs, but the "make check" stuff that tries to tweak the library
path isn't working for me.  That doesn't mean the installed programs
won't work.

home help back first fref pref prev next nref lref last post