postgresql-7.1beta5 with Heimdal-0.3e

From: "Dmitry G (dot) Mastrukov" <dmitry(at)taurussoft(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: postgresql-7.1beta5 with Heimdal-0.3e
Date: 2001-02-26 10:43:15
Message-ID: 20010226134315.C30727@flame-in-night.taurussoft.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Dmitry G. Mastrukov
Your email address : dmitry(at)taurussoft(dot)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 Content-Type Size
heimdal.diff application/octet-stream 1.8 KB

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Солодовников Константин 2001-02-26 10:58:32 RE: Strangeness/bug when working with my own datatype in P ostgreSQL
Previous Message Dmitry G . Mastrukov 2001-02-26 10:20:13 postgresql-7.1beta5 configure