Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



     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
                    function 'krb5_sendauth' required for Kerberos 5])])

but I'm not sure why no one else would've complained before, if that
were necessary...

Where are we on this?

A thousand apologies, I never posted back my results. I got it to build by hacking configure as per the attached patch. Notice I don't have "roken" -- don't know what that is. -lroken should probably be patched a second place; I only did it on the first one and it worked.

Alas, I haven't actually had a chance to see if Kereberos authentication works, I only know this builds.

-Thanks, Jim
*** configure.dist	Tue Feb  6 22:48:58 2007
--- configure	Sun Mar  4 13:57:52 2007
***************
*** 6535,6541 ****
  rm -f conftest.err conftest.$ac_objext \
        conftest$ac_exeext conftest.$ac_ext
  if test "$ac_cv_search_com_err" = no; then
!   for ac_lib in krb5 'krb5 -ldes -lasn1 -lroken' com_err; do
      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
      cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
--- 6535,6541 ----
  rm -f conftest.err conftest.$ac_objext \
        conftest$ac_exeext conftest.$ac_ext
  if test "$ac_cv_search_com_err" = no; then
!   for ac_lib in krb5 'krb5 -lcrypto -lasn1' com_err; do
      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
      cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
***************
*** 6665,6671 ****
  rm -f conftest.err conftest.$ac_objext \
        conftest$ac_exeext conftest.$ac_ext
  if test "$ac_cv_search_krb5_sendauth" = no; then
!   for ac_lib in krb5 'krb5 -ldes -lasn1 -lroken'; do
      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
      cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */
--- 6665,6671 ----
  rm -f conftest.err conftest.$ac_objext \
        conftest$ac_exeext conftest.$ac_ext
  if test "$ac_cv_search_krb5_sendauth" = no; then
!   for ac_lib in krb5 'krb5 -lcrypto -lasn1 -lroken'; do
      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
      cat >conftest.$ac_ext <<_ACEOF
  /* confdefs.h.  */

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux