Subject: Re: Samba with Heimdal: configure: error: libkrb5 is needed for
To: None <>
From: Christian Palomino <>
List: tech-pkg
Date: 03/22/2004 18:56:54
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit


On Mon, 22 Mar 2004 09:30:19 -0800 (PST)
"Jeremy C. Reed" <> wrote:

> So when you build from pkgsrc, do you use the SAMBA_WITH_ADS=yes option
> (maybe in your /etc/mk.conf or the command line)?
Yes, I do:
The following variables will affect the build process of this package,
samba-3.0.2a.  Their current value is shown below:

        * KRB5BASE (defined)
        * KRB5_TYPE = heimdal
        * SAMBA_USE_LDAP = yes
        * SAMBA_USE_LDAP_COMPAT (not defined)
        * SAMBA_WITH_ADS = yes
        * SSLBASE (defined)
        * USE_CUPS = YES
        * USE_PAM (not defined)

> Does the config* output tell you that ads was or was not configured?
It seems it is:
# cat config.log | grep ads
   $ ./configure --with-configdir=/usr/pkg/etc/samba --with-lockdir=/var/db/samba --with-logfilebase=/var/log --with-piddir=/var/run --with-privatedir=/usr/pkg/etc/samba/private --localstatedir=/var --libdir=/usr/pkg/lib/samba --with-swatdir=/usr/pkg/share/samba/swat --with-libsmbclient --with-winbind --with-libiconv=/usr --with-readline=/usr/pkg --with-ads --with-krb5=/usr --enable-cups --with-ldap --host=i386--netbsdelf --prefix=/usr/pkg --without-libiconv-prefix
Configured with: /home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --build=i386-unknown-netbsdelf --host=i386--netbsdelf --target=i386--netbsdelf

> I have carbon copied this to tech-pkg. Consider replying to tech-pkg on
> responses.

Ok, I'll do it.

Thank you very much

Christian Palomino
GPG FingerPrint: BFF6 784E 01D1 1722 90C2 276A 00CD 900D 624D 100F

Content-Type: application/pgp-signature

Version: GnuPG v1.2.4 (NetBSD)