Thread: BUG #3927: configure --with-gssapi fails

BUG #3927: configure --with-gssapi fails

From
"Christian Ullrich"
Date:
The following bug has been logged online:

Bug reference:      3927
Logged by:          Christian Ullrich
Email address:      chris@chrullrich.net
PostgreSQL version: 8.3.0
Operating system:   FreeBSD 6.3
Description:        configure --with-gssapi fails
Details:

./configure --with-gssapi fails when checking for gss_init_sec_context.

Apparently, the reason is that an incomplete list of libraries is passed to
the compiler. I managed to make it work by adding

    -lasn1 -lroken -lcom_err

to the command line in configure.in .

Re: BUG #3927: configure --with-gssapi fails

From
"Christian Ullrich"
Date:
* Christian Ullrich wrote:

> The following bug has been logged online:
[...]
> Description:        configure --with-gssapi fails

> ./configure --with-gssapi fails when checking for
> gss_init_sec_context.

My mistake. I should have been using the heimdal port instead of the
ancient release in the base system.

--
Christian Ullrich

Re: BUG #3927: configure --with-gssapi fails

From
Tom Lane
Date:
"Christian Ullrich" <chris@chrullrich.de> writes:
>> ./configure --with-gssapi fails when checking for
>> gss_init_sec_context.

> My mistake. I should have been using the heimdal port instead of the
> ancient release in the base system.

So, how ancient is it?  Is there any reason we should try to make
--with-gssapi work with it?

There are good reasons to encourage people to use gssapi only with
recent versions of the underlying libraries, eg
https://bugzilla.redhat.com/show_bug.cgi?id=430983
so I'm happy to treat this as not-worth-fixing if it really isn't.

            regards, tom lane

Re: BUG #3927: configure --with-gssapi fails

From
Christian Ullrich
Date:
* Tom Lane wrote:

> "Christian Ullrich" <chris@chrullrich.de> writes:

>> My mistake. I should have been using the heimdal port instead of the
>> ancient release in the base system.
>
> So, how ancient is it?  Is there any reason we should try to make
> --with-gssapi work with it?

It's version 0.6.3, released in September 2004, according to the change
log. I don't know whether it would be worth it to make it work, but I
doubt it.

The FreeBSD port has been using the ports collection's heimdal instead
of the base system's at least since 8.0. The reason given in the port
is
<http://lists.freebsd.org/pipermail/freebsd-stable/2005-October/018809.html>.

> There are good reasons to encourage people to use gssapi only with
> recent versions of the underlying libraries, eg
> https://bugzilla.redhat.com/show_bug.cgi?id=430983
> so I'm happy to treat this as not-worth-fixing if it really isn't.

It isn't for me.

--
  Christian Ullrich  .  You will pay for your sins.  If you have
                     .  already paid, please disregard this message.
    Registrierter    .
 Linux-User #125183  .