SASL doesn't build with ldap with FreeBSD

paul dekkers bb+lists.cyrus-info at vet.fnt.hvu.nl
Thu Oct 24 03:00:25 EDT 2002


Hi,

I don't get this! When I try again this morning, it seems all configure
options I did before now work. I can't reproduce the error, not even
with "./configure"'s I entered before... I hope I still find out what it
was...

I still had to modify one bit of the Makefile in lib/ however - there is
a ln -s plugin_common, but the make install complains that the
plugin_common link already exists. I changed it in ln -f -s

Thank you,
Paul

P.S. I assume there is a typo in your Makefile - it's --disable-otp
Besides, I wonder what makefile that is - do you install from a FreeBSD
package? (I built from scratch, so I can't edit the Makefile for
configure parameters)


> -----Oorspronkelijk bericht-----
> Van: gdl at merit.edu [mailto:gdl at merit.edu]
> Verzonden: woensdag 23 oktober 2002 23:35
> Aan: paul dekkers
> CC: info-cyrus at lists.andrew.cmu.edu
> Onderwerp: Re: SASL doesn't build with ldap with FreeBSD
> 
> paul dekkers wrote:
> >
> > Hi,
> >
> > I built/installed OpenLDAP first - the test.c file I created myself
> > could be compiled too, so the configure script should be able too.
> >
> > I assume otp, kerberos, digest and md5 do not stand in the way for
the
> > LDAP support to built correctly?
> 
> Not as far as I know.
> 
> > BTW, I built sasl on an Linux BOX to see what happends there, and it
> > built immediately! Frustrating to see, as a FreeBSD fan!
> >
> > What was your configure command for sasl?
> 
> Here's what I modified in the Makefile (after commententing out the
> Kerb stuff and the OTP):
> 
> CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
>                 --with-plugindir=${PREFIX}/lib/sasl2 \
>                 --with-dbpath=${PREFIX}/etc/sasldb2 \
>                 --includedir=${PREFIX}/include \
>                 --enable-static \
>                 --enable-login \
>                 --diable-otp \
>                 --disable-krb4 \
>                 --disable-gssapi \
>                 --disable-cram \
>                 --disable-digest \
>                 --with-saslauthd \
> 		--with-ldap=/usr/local \
>                 --enable-auth-sasldb \
>                 --with-rc4=openssl
> 
> 
> > Did you install openLdap in anything else than the default
/usr/local
> directories?
> 
> Nope. All in the standard locations.
> 
> 
> 
> >
> > Paul
> >
> > > -----Oorspronkelijk bericht-----
> > > Van: gdl at merit.edu [mailto:gdl at merit.edu]
> > > Verzonden: woensdag 23 oktober 2002 22:51
> > > Aan: paul dekkers
> > > Onderwerp: Re: SASL doesn't build with ldap with FreeBSD
> > >
> > > We just went through this at out site.
> > >
> > > The only thing we did was just have OpenLDAP built
> > > first.  I did add "--with-ldap=/usr/local" in the Makefile
> > > for sasl, but looking further in the file, I didn't have
> > > to do that.  I didn't add anything else in the file.
> > >
> > > Note: be sure to disable the otp, the kerberos, the digest
> > > and m5 password scemes if you're not going to use them.
> > > It took me about 6 re-builds to realize what was happening
> > > and re-build sasl correctly.
> > >
> > > We've got FreeBSD 4.7-STABLE.
> 
> --
> ----------
> Gardiner D. Leverett			gdl at merit.edu
> Merit Network, Inc. 			Phone: 734-647-9888
> 4251 Plymouth Road, Suite 2000		Ann Arbor, MI
48105-2785
> 			http://www.merit.edu





More information about the Info-cyrus mailing list