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

2007-03-25 Thread Jim Rosenberg
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -ldes -lasn1 -lroken' com_err], [], [AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])]) AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -ldes -lasn1 -lroken'], [], [AC_MSG_ERROR([could not find

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

2007-03-24 Thread Bruce Momjian
Tom Lane wrote: > Jim Rosenberg <[EMAIL PROTECTED]> writes: > > Here's the problem: when configure tries to compile the code snippet to > > check for com_err, it needs to do this with -lcrypto added, but it's not > > using that. What's the "right" way to fix this? I could probably get it to > >

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

2007-03-04 Thread Tom Lane
Jim Rosenberg <[EMAIL PROTECTED]> writes: > Here's the problem: when configure tries to compile the code snippet to > check for com_err, it needs to do this with -lcrypto added, but it's not > using that. What's the "right" way to fix this? I could probably get it to > work by brutally hacking c

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

2007-03-04 Thread Jim Rosenberg
--On Sunday, March 4, 2007 12:40 AM -0500 Tom Lane <[EMAIL PROTECTED]> wrote: You need to look at the config.log output to see exactly what configure tried to do and what error it got. Thanks, Tom, this was helpful!! Here's the problem: when configure tries to compile the code snippet to ch

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

2007-03-04 Thread Stefan Kaltenbrunner
Jim Rosenberg wrote: > --On Saturday, March 3, 2007 11:24 PM -0500 Tom Lane <[EMAIL PROTECTED]> > 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:

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

2007-03-03 Thread Tom Lane
Jim Rosenberg <[EMAIL PROTECTED]> writes: > --On Saturday, March 3, 2007 11:24 PM -0500 Tom Lane <[EMAIL PROTECTED]> > wrote: >> Perhaps you need a --with-libs switch too? > Hmm. libkrb5 is in /usr/lib -- with all the rest of the libs -- not > somewhere special. OK, then the next likely answer

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

2007-03-03 Thread Jim Rosenberg
--On Saturday, March 3, 2007 11:24 PM -0500 Tom Lane <[EMAIL PROTECTED]> 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.

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

2007-03-03 Thread Tom Lane
Jim Rosenberg <[EMAIL PROTECTED]> writes: > 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

[GENERAL] Configure can't find com_err on OpenBSD for --with-krb5

2007-03-03 Thread Jim Rosenberg
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 This