From owner-freebsd-bugs Wed Aug 16 15:10:30 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id 4596537BDDF for ; Wed, 16 Aug 2000 15:10:26 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.9.3/8.9.3) with SMTP id RAA09343 for ; Wed, 16 Aug 2000 17:10:23 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <001b01c007ce$c6783d00$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: Subject: Re: ports/20623: cyrus-sasl-1.5.24 does not build libkerberos4.la Date: Wed, 16 Aug 2000 17:10:23 -0500 Organization: West Bend Internet X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org From: "Jimmy Olgeni" > "make configure" misses some kerberos libraries and disables the kerberos > plugin. The kerberos plugin can be built anyway, so it could be a problem > with the configuration script. > > >How-To-Repeat: > > # cd /usr/ports/security/cyrus-sasl > # make > > ... > checking for res_search in -lresolv... no > checking for krb.h... yes > checking for krb_mk_priv in -lkrb... no > checking for krb_mk_priv in -lkrb... (cached) no > configure: warning: No Kerberos V4 found > checking KERBEROS_V4... disabled > checking GSSAPI... disabled > checking ANONYMOUS... enabled > ... > [end of make] > That's what I was afraid of. The check for Kerberos is done twice in the configure script, once without -lcom_err, and once with -lcom_err (for FreeBSD's Kerberos). Unfortuantely, the second check is also looking for krb_mk_priv, but it found a cached value from the first check, and skipped the second check. Apply the following patch to the port to fix the problem. Scot --- patch-ab.orig Tue Aug 15 19:29:59 2000 +++ patch-ab Tue Aug 15 19:35:05 2000 @@ -1,5 +1,5 @@ ---- configure.in.orig Thu Aug 3 14:34:08 2000 -+++ configure.in Thu Aug 3 14:39:24 2000 +--- configure.in.orig Thu Jul 20 21:35:01 2000 ++++ configure.in Tue Aug 15 19:34:36 2000 @@ -66,8 +66,9 @@ dnl check for -R, etc. switch CMU_GUESS_RUNPATH_SWITCH @@ -12,3 +12,12 @@ AM_DISABLE_STATIC +@@ -436,7 +437,7 @@ + if test "$with_des" != no; then + AC_CHECK_HEADER(krb.h, + AC_CHECK_LIB(krb, krb_mk_priv, COM_ERR="", +- AC_CHECK_LIB(krb, krb_mk_priv, COM_ERR="-lcom_err", ++ AC_CHECK_LIB(krb, krb_mk_err, COM_ERR="-lcom_err", + AC_WARN(No Kerberos V4 found); krb4=no, -ldes -lcom_err), + -ldes), + AC_WARN(No Kerberos V4 found); krb4=no) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message