[35944] in Kerberos

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

Re: Cannot compile MIT Kerberos on HP-UX 11.31

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Mar 28 12:42:04 2014

Message-ID: <5335A64F.3040303@mit.edu>
Date: Fri, 28 Mar 2014 12:41:51 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Michael-O <1983-01-06@gmx.net>, kerberos@mit.edu
In-Reply-To: <trinity-465f9114-2dd3-4529-8a12-aa82824b8131-1396012955551@3capp-gmx-bs29>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On 03/28/2014 09:22 AM, Michael-O wrote:
> "t_enctypes.c", line 36: error #3696-D: cannot open source file "getopt.h"
>   #include <getopt.h>

It turns out that POSIX specifies getopt.h to be declared in unistd.h,
not getopt.h, so yes, this is a portability bug in t_enctypes.c.

> Do you want me to file an issue? I guess a define for HP-UX and ifndef is necesary.

No need.  I have filed a pull request, and this should be fixed in 1.12.2.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

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