Date: Tue, 15 Aug 2000 20:58:01 -0500 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "FreeBSD-Ports" <FreeBSD-Ports@freebsd.org> Subject: Unknown user error from hub.freebsd.org (Fw: ports/20623: cyrus-sasl-1.5.24 does not build libkerberos4.la) Message-ID: <008701c00725$68973be0$8dfee0d1@westbend.net>
next in thread | raw e-mail | index | archive | help
I have tried sending this bug report to the freebsd-bugs and freebsd-gnats-submit addresses, but I keep receiving an unknown user error from hub.freebsd.org. Could someone apply the attached patch to the cyrus-sasl port. Thanks, Scot ----- Original Message ----- From: "Scot W. Hetzel" <hetzels@westbend.net> To: <freebsd-bugs@FreeBSD.ORG> Sent: Tuesday, August 15, 2000 8:37 PM Subject: Re: ports/20623: cyrus-sasl-1.5.24 does not build libkerberos4.la > From: "Jimmy Olgeni" <olgeni@uli.it> > > "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-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008701c00725$68973be0$8dfee0d1>