postgresql-7.1beta5 with Heimdal-0.3e - Mailing list pgsql-bugs

From Dmitry G . Mastrukov
Subject postgresql-7.1beta5 with Heimdal-0.3e
Date
Msg-id 20010226134315.C30727@flame-in-night.taurussoft.org
Whole thread Raw
Responses Re: postgresql-7.1beta5 with Heimdal-0.3e  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: postgresql-7.1beta5 with Heimdal-0.3e  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name        :    Dmitry G. Mastrukov
Your email address    : dmitry@taurussoft.org


System Configuration
---------------------
  Architecture (example: Intel Pentium)      : Intel Pentium

  Operating System (example: Linux 2.0.26 ELF)     : Linux 2.4.2
ELF

  PostgreSQL version (example: PostgreSQL-6.3.2)  :
PostgreSQL-7.1beta5

  Compiler used (example:  gcc 2.7.2)        : gcc 2.95.2


Please enter a FULL description of your problem:
------------------------------------------------
1. Configure cannot properly determine Heimdal (0.3d - 0.3e) libs.
Heimdal has no libk5crypto, all its functions is in libkrb5. Configure
crashes.
2. a) Heimdal has no enc_part2 member in krb5_ticket
    b) Heimdal has no text member in krb5_error



Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
Install Heimdal-0.3e (in /usr/heimdal for example)
configure --with-krb5=/usr/heimdal
make




If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
It's necessary to make difference in MIT and Heimdal Kerberos
distributions on configure and build processes with some sort of
#define HAVE_KRB5_MIT/HEIMDAL. Then it's possible to enclose
differences in #ifdef ... #endif
pairs.
I attached patch which made for me authorization with Heimdal.
Configure part of this patch is simply hack to make configure work in
my enviroment. Postgres successfully builds and works.

Attachment

pgsql-bugs by date:

Previous
From: "Dmitry G . Mastrukov"
Date:
Subject: postgresql-7.1beta5 configure
Next
From: John Foderaro
Date:
Subject: count() bug in trivial self join