From owner-freebsd-ports Wed Jan 12 22:40: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9E370152A9 for ; Wed, 12 Jan 2000 22:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA02931; Wed, 12 Jan 2000 22:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Wed, 12 Jan 2000 22:40:03 -0800 (PST) Message-Id: <200001130640.WAA02931@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: patl@phoenix.volant.org Subject: Re: ports/16044: cyrus-sasl-1.5.13 build dies without Kerberos 4 & 5 Reply-To: patl@phoenix.volant.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/16044; it has been noted by GNATS. From: patl@phoenix.volant.org To: "Scot W. Hetzel" Cc: patl@phoenix.volant.org, freebsd-gnats-submit@FreeBSD.ORG Subject: Re: ports/16044: cyrus-sasl-1.5.13 build dies without Kerberos 4 & 5 Date: Wed, 12 Jan 2000 22:30:44 -0800 (PST) ---559023410-824023566-947745046=:24641 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII On 12-Jan-00 at 21:52, Scot W. Hetzel (hetzels@westbend.net) wrote: > > Support for both krb4 and GSSAPI is enabled by default in the > > Cyrus-SASL configure script. The port Makefile handles the case > > where KRB5_HOME is set to a non-default location; but not the > > case where it isn't installed at all, nor the case where Kerberos > > 4 isn't installed. > > >How-To-Repeat: > > > > >Fix: > > The Makefile should either contain appropriate DEPENDS values to > > ensure Kerberos installation; or should check for the presence of > > each version of Kerberos and add the required --disable flags to > > CONFIGURE_ARGS if Kerberos is not found. > > > The cyrus-sasl configure script handles the case if kerberos 4 and/or 5 is > not available on the system. Hmm. That's not what happened when I tried to build the port. It complained about a missing header file. This was on 3.3R with /usr/ports CVSup'd to current as of some time January 10th. > #cd /usr/ports/security/cyrus-sasl > #make configure > : > : > checking CRAM-MD5... enabled > checking SCRAM-MD5... disabled > checking for des_pcbc_encrypt in -ldes... yes > checking DIGEST-MD5... enabled > checking for res_search in -lresolv... no > checking for krb.h... no My log doesn't show this test. That appears to be the source of the problem. (It looks like I was hasty when I claimed that it also needed Kerberos 5 - it is reporting that GSSAPI is disabled.) > configure: warning: No Kerberos V4 found > checking KERBEROS_V4... disabled > checking for gssapi.h... no > checking for gssapi/gssapi.h... no > configure: warning: Disabling GSSAPI > checking GSSAPI... disabled > ... I've attached the configure output from my logs - the only thing that I can see off-hand that might relate to the problem is that I also don't have DES installed. -Pat ---559023410-824023566-947745046=:24641 Content-Type: TEXT/plain; name=LOG2 Content-Description: cyrus-sasl-configure.log ===> Extracting for cyrus-sasl-1.5.13 >> Checksum OK for cyrus-sasl-1.5.13.tar.gz. ===> cyrus-sasl-1.5.13 depends on executable: openssl - found ===> cyrus-sasl-1.5.13 depends on executable: autoconf - found ===> cyrus-sasl-1.5.13 depends on executable: libtool - found ===> cyrus-sasl-1.5.13 depends on shared library: crypto.1 - found ===> Patching for cyrus-sasl-1.5.13 ===> Applying FreeBSD patches for cyrus-sasl-1.5.13 ===> Configuring for cyrus-sasl-1.5.13 creating cache ./config.cache checking host system type... i386--freebsd3.3 checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... found checking for gcc... cc checking whether the C compiler (cc -g -O -pipe -m486 ) works... yes checking whether the C compiler (cc -g -O -pipe -m486 ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for runpath switch... -R checking build system type... i386--freebsd3.3 checking for ranlib... ranlib checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... no checking if cc static flag -static works... -static checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/libexec/elf/ld option to reload object files... -r checking dynamic linker characteristics... freebsd3.3 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking DB path to use... /usr/local/etc/sasldb checking for db.h... yes checking for db_open in -ldb... no checking for ndbm.h... yes checking for dbm_open in -lndbm... no checking for dbm_open... yes checking DB library to use... ndbm checking for dlopen in -ldl... no checking for vsyslog... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for connect... yes checking for pam_start in -lpam... yes checking for security/pam_appl.h... yes checking PAM support... yes checking for getspnam... no checking CRAM-MD5... enabled checking SCRAM-MD5... disabled checking for des_pcbc_encrypt in -ldes... no configure: warning: No DES support for DIGEST-MD5 checking DIGEST-MD5... enabled checking for res_search in -lresolv... no checking KERBEROS_V4... enabled checking for gssapi.h... no checking for gssapi/gssapi.h... no configure: warning: Disabling GSSAPI checking GSSAPI... disabled checking ANONYMOUS... enabled checking PLAIN... enabled checking for rc4_init in -lrc4... no checking for RSAPublicEncrypt in -lrsaref... yes checking for RC4_set_key in -lcrypto... yes checking for openssl/rc4.h... yes checking rc4 support... openssl checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes checking for strchr... yes checking for memcpy... yes checking for getspnam... (cached) no checking for getsubopt... yes checking for snprintf... yes checking for vsnprintf... yes checking for getopt.h... no checking for unistd.h... yes checking for crypt.h... no checking for shadow.h... no checking for working const... yes checking for inline... inline checking for sfio.h... no checking for getdomainname... yes checking for getpassphrase... no updating cache ./config.cache ---559023410-824023566-947745046=:24641-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message