bug-cvs
[Top][All Lists]
Advanced

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

Re: v1.11.1p1 compile problem on Solaris 2.8


From: Derek Robert Price
Subject: Re: v1.11.1p1 compile problem on Solaris 2.8
Date: Mon, 24 Sep 2001 12:21:59 -0400

Petter Reinholdtsen wrote:

> I ran into a compile problem on my SPARC/Solaris 2.8 installation.
> The headerfile <krb5.h> is missing, but the file src/server.c seem to
> depend on it.  The following patch show some of the relevant parts.
> Turning off HAVE_GSSAPI got the file compiling, but CVS refused to
> link.  Protectin the #include statement gave problems further down in
> the file.

Kinda.  The GSSAPI autodetection code currently uses the existance of a few
header files to decide whether to try and compile with GSSAPI enabled or not
and Sun insists on including some of those header files with a default Solaris
install even though the Krb5 libraries are not included, which confuses CVS's
configure script.

I've only given this a little bit of thought as to how to fix the autodetect
code and haven't like most of the solutions so far.  I'd much rather hear that
Sun only installed the relevant headers when the libraries were sure to be
installed as well.  Anyone know why anyone would want headers without the
relevant libraries?

Anyhow, the workaround that has avoided this problem in the past is to pass
`--without-gssapi' ot `--with-gssapi=<path>' to configure, where <path> is the
path to a working Krb5 distribution.  If you can still produce linking errors
using either of those, please send them to this list and I'll take a second
pass at your problem.

Derek





reply via email to

[Prev in Thread] Current Thread [Next in Thread]