Re: Configure can't find com_err on OpenBSD for --with-krb5

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Jim Rosenberg <jr(at)amanue(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Configure can't find com_err on OpenBSD for --with-krb5
Date: 2007-03-04 08:31:44
Message-ID: 45EA83F0.5030406@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jim Rosenberg wrote:
> --On Saturday, March 3, 2007 11:24 PM -0500 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> wrote:
>
>>> I am trying to build PostgreSQL 8.2.3 on OpenBSD 4.0. When I give the
>>> command
>>
>>> ./configure -v --with-openssl --with-krb5
>>> --with-includes=/usr/include/kerberosV
>>
>>> I get:
>>
>>> checking for library containing com_err... no
>>> configure: error: could not find function 'com_err' required for
>>> Kerberos 5
>>
>> Perhaps you need a --with-libs switch too? Usually, if the package
>> didn't put its include files right in /usr/include, it likely didn't
>> put the libraries right in /usr/lib either.
>
> Hmm. libkrb5 is in /usr/lib -- with all the rest of the libs -- not
> somewhere special.
>
> I also have /usr/lib/libcom_err.a too, and it seems to have com_err.o
> also. Putting in an explicit
>
> ./configure --with-openssl --with-krb5
> --with-includes=/usr/include/kerberosV
> --with-libs=/usr/lib

FWIW - we have a buildfarm box running OpenBSD 4.0/AMD64 - and it is
using the following configuration:

http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=zebra&dt=2007-03-02%2013:18:04

I vaguely remember I had some kerberos-related issues too when I set up
that box but the above configuration is working :-)

Stefan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Flemming Frandsen 2007-03-04 10:35:08 Re: Support for idempotent schema changes?
Previous Message Peter Eisentraut 2007-03-04 07:44:38 Re: Support for idempotent schema changes?